Use enterprise beans in applications

  1. Design a J2EE application and the enterprise beans that it needs. See "Resources for learning" for links to design information that is specific to enterprise beans.

  2. Develop any enterprise beans that your application will use.

  3. Prepare for assembly. For your EJB 2.x-compliant entity beans, decide on an appropriate access intent policy.

  4. Assemble the beans using the into one or more EJB modules. This includes setting security.

  5. Assemble the modules into a J2EE application using the .

  6. [V5.1 and later]For a given appserver, update the EJB container configuration if needed for the application to be deployed, and determine if you want to batch commands batch commands or defer commands for container managed persistence.

  7. Deploy the application in an appserver.

  8. Test the modules.

  9. Assemble the production application using the.

  10. Deploy the application to a production environment.

  11. Manage the application:

    1. Manage installed EJB modules.After an application has been installed, you can manage its EJB modules individually through administrative console settings.

    2. Manage other aspects of the J2EE application.

  12. Update the module and redeploy it using the.

  13. Tune the performance of the application. See Best practices for developing enterprise beans.

Related concepts
Enterprise beans
EJB modules
EJB containers
Related reference
Enterprise beans: Resources for learning
EJB method Invocation Queuing
Monitoring performance