Assemble EJB 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 specifications.
This topic assumes that we have created and unit tested an enterprise bean file 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 assembling an EJB module, we can 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 new EJB module.
- Copy code artifacts, such as entity beans, from one EJB module into a new EJB module.
For information on assembling EJB modules, refer to the online documentation or the information center for our assembly tool. The Rational Application Developer product provides supported assembly tools.
Tasks
- Assemble an EJB 2.x module. See the topic Assembling EJB 2.x modules.
- Assemble an EJB 3.x module. See the topic Assembling EJB 3.x modules.
What to do next
After you finish assembling your EJB module, we are ready to deploy your module.
Subtopics
- EJB modules
- EJB content in WAR modules
- EJB 3.x module packaging overview
- Define container transactions for EJB modules
- References in application deployment descriptor files
- EJB references
- EJB JNDI names for beans
- Bind EJB business settings
- EJB modules
- EJB content in WAR modules
- EJB 3.x module packaging overview
- Define container transactions for EJB modules
- References in application deployment descriptor files
- EJB references
- EJB JNDI names for beans
- Bind EJB business settings
Related:
Enterprise beans Enterprise (Java EE) applications Development and assembly tools Sequence grouping for container-managed persistence in assembled EJB modules EJB modules Assembling EJB 2.x modules Assembling EJB 3.x modules Set the run time for CMP sequence groups Assemble applications Install enterprise application files