This seems like an interesting project, still in its infancy.
http://openejb.exolab.org/
to build:
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
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:
- 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
.
--
TobyCabot - 07 Nov 2001 - 18 Feb 2002
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