...
Download and install OpenEJB
You can download OpenEJB from This example pertains to OpenEJB 3.0 which can be downloaded here. Once you have downloaded OpenEJB, you can then simply extract the contents of the downloaded file to whichever directory you want to install OpenEJB in.
After extracting the file contents, you should now see a directory named openejb-3.0. If you look under this directory, you will find a few more directories:
- bin: Contains commands to start/stop the server (You can also do a lot of other stuff like deploy/undeploy, but we will just talk about things needed to get you started)
- lib: Contains several jar files (you only need of few of these jars in your classpath to do EJB development)
- apps: Once you create your EJB's and jar them up, you can place your jar file in this directory and start the server. The server will automatically deploy all the EJB's contained in this JAR.
- conf: This directory contains all the configuration files. Although you may not see any file except for a README.txt file right now, but after you start the server, the required configuration files will be automatically created. It is highly recommeded to read the README.txt file under this directory
- logs: Contains log files.
Setup your development environment
...