EJB Entity Modules
The Enterprise Java Bean Entity Module is an easy way to start creating a server-side Enterprise Java Bean that conforms to the basic specification as defined by Sun Microsystems. Modules created here are fully EJB compliant and can be executed inside your JDesignerPro applications and on the BulletProof Enterprise Management Server or by any other Java Beans-compliant system.
Choose this type if you want to create a module that is compliant with the Enterprise Java Bean model and you do not necessarily wish to take advantage of the extended features of the Enterprise Management Server such as Job logging and access to the Server internals. You would also choose this type if you wish to create a module that remains active on the server for other processes to interact with it. If you do not require the process to remain active see EJB Session Module.
The Application Builder will create a new module for you using an EJB Entity template. This new module implements the EntityBean class and therefore provides the methods outlined by that class such as ejbActivate() and ejbPassivate(). As per the EJB specifications when this module is run in the Enterprise Server the ejb methods will be called at the appropriate time.
By creating your own accessor methods and by using the lightweight RMI that is provided by the JDPRMIConnection class you can create client and server apps that can communicate with this module when it is running on the server.
For general information about the construction and deployment of Enterprise Java Beans, please see the Sun Microsystems documentation for EJB.