This worked example describes how to load an existing EJB into the EJBHome Deployer and generate the container classes using the EJBHome Generator.
This example assumes that you are working on an EJB called, Account. The EJB has three source files: AccountBean.java, AccountHome.java and Account.java.
Start the EJBHome Deployer by typing:
java com.ejbhome.Deployer
Click the right mouse button to bring up the context menu.
Type the fully qualified class name of the bean that you wish to load.
The class must be derived from javax.ejb.EnterpriseBean.
To Generate the Bean, bring up the context menu once again, and select "Generate"
from the context menu.
The Generator will start.
The Generated classes will be written into the output directory specified in the "Properties..."
dialog.