Search
The Caboteria
/
Tech Web
/
OpenEjbNotes
(18 Feb 2002,
TobyCabot
)
(raw view)
This seems like an interesting project, still in its infancy. http://openejb.exolab.org/ to build: <pre> 1. Get a fresh checkout of the source (see website for details) WINDOWS/LINUX> cvs checkout openejb 2. Go to the new 'openejb' directory WINDOWS/LINUX> cd openejb 3. Build the source WINDOWS> build jar LINUX$ ./build.sh jar 4. Execute the deploy tool. WINDOWS> deploy conf\default.openejb.conf dist\beans\undeployedBeans.jar LINUX$ ./deploy.sh conf/default.openejb.conf dist/beans/undeployedBeans.jar </pre> Then to run, use the =start_openejb.sh= script in the root directory. --- *Code* see http://openejb.sourceforge.net/design_openejb.html entry point is =OpenEJB.init()=. Initializes in turn: * <nop>SecurityManager * Properties * Assembler * assembler.build() * assembler.getContainerSystem() * assembler.getSecurityService() * assembler.getTransactionManager() --- *Unit Tests* 2 approaches: * Run the =test.sh= script. * =./build.sh; ./build.sh test= you need to build twice because =build test= checks for the existence of a jar that's built during the process so it fails. =test.sh= runs =org.openejb.test.ClientTestRunner=. -- Main.TobyCabot - 07 Nov 2001 - 18 Feb 2002 <br />
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria?
Send feedback