+

Search Tips   |   Advanced Search

Implement EJB 3.x applications

Use this task when we are implementing EJB 3.x applications.

Based on the EJB specification, enterprise beans are Java components that typically implement the business logic of JEE (JEE) applications as well as access data. IBM WebSphere Application Server provides broad support for enterprise beans, including the EJB 2.x and EJB 3.x specifications. The EJB 3 specification simplifies the development of business logic and data handling for enterprise applications. We can assemble the beans into one or more EJB 3.x modules using one of the assembly tools.

The EJB 3.0 specification has justifiably been called the most important upgrade to the Java™ Platform, Enterprise Edition 5 (Java EE 5) programming model. The EJB 3.0 specification represents simplification and streamlining of the business logic and persistence programming models used in Java EE. While the Java Persistence API (JPA) replacement is called an entity class, it should not be confused with entity enterprise beans. A JPA entity is not an enterprise bean and is not required to run in an EJB container.

The EJB specification only requires local client views to be supported for EJBs packaged within the same application. This includes local homes, local business interfaces, and the no-interface view. WebSphere Application Server permits access to local client views to EJBs packaged within a separate application with some restrictions:

Complete the following procedure if to implement EJB 3.x application in WebSphere Application Server, including tuning and troubleshooting tips.

  1. Migrate enterprise bean code.

  2. Develop EJB 3.x applications.

  3. Assemble EJB 3.x applications.

  4. Deploy the EJB 3.x applications.

  5. Administer EJB 3.x applications.

  6. Secure EJB 3.x applications.

  7. Tune EJB 3.x applications.

  8. Troubleshoot EJB 3.x applications.


Results

You have implemented EJB 3.x applications on WebSphere Application Server.


Subtopics


Related tasks

  • Change applications to WebSphere version specific setRollbackOnly behavior