Assembling EJB 2.x modules
An enterprise bean is a Java component that can be combined with other resources to create Java EE applications. This topic describes assembling EJB modules based on the EJB 2.x and earlier specifications.
Create and unit tested an enterprise bean to assemble in an enterprise application and deploy onto an application server.
Assemble an EJB module to contain enterprise beans and related code artifacts. Group web components, client code, and resource adapter code in separate modules. After the EJB module is assembled, install it as a stand-alone application or combine it with other modules into an enterprise application.
Use an assembly tool to assemble an EJB module in any of the following ways:
- Import an existing EJB module (EJB JAR file)
- Create a EJB module
- Copy code artifacts, such as entity beans, from one EJB module into a new EJB module
For information about assembling EJB modules with an assembly tool, see the Rational Application Developer documentation.
Results
The EJB module is migrated or created, reflecting the Java EE structure that specifies the location of enterprise bean content files, class files, class paths, the deployment descriptor, and supporting metadata. For more information about the location of the content see the assembly tool information center.
What to do next
After finishing assembling the EJB module, you are ready to deploy the module.
Related concepts
EJB modules References in application deployment descriptor files Sequence grouping for container-managed persistence in assembled EJB modules
Related tasks
Assembling applications Define container transactions for EJB modules Set the run time for CMP sequence groups
EJB references EJB JNDI names for beans
Related information: