Difference: OpenEjbNotes (6 vs. 7)

Revision 718 Feb 2002 - TobyCabot

Line: 1 to 1
 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
Changed:
<
<
src/facilities/org/openejb/corba/Server.java is the main entry point, usually called by launch_server.sh. Expects a properties file as arg[0] (usually conf/xopenejb_startup.props).
>
>
see http://openejb.sourceforge.net/design_openejb.html
 
Changed:
<
<
org.openejb.corba.core.Initializer does the initialization.
>
>
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

View topic | History: r7 < r6 < r5 < r4 | More 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