Building Java EE applications using IBM Rational application Developer V7.5 and WebSphere application Server V7.0
Introduction
This article introduces you to Ibm®rational®application Developer for WebSphere Software V7.5, and takes you to build JPA entities, session beans, and deploy them to ibm®websphere® On the V7.0.
Java™platform, Enterprise Edition V5.0 (JAVA™EE) has made significant changes in the creation of enterprise applications, which support the Java™persistence API (JPA), and Enterprise Java™bea NS Technology (EJB) V3.0 program Design model, annotations, and dependency injection.
Necessary conditions
This article assumes that you have at least installed the Rational application Developer V7.5 and WebSphere V7.0 test servers.
Sample Application
The sample application you are about to create has a JPA entity, a session bean that invokes the JPA entity, a servlet that invokes the session bean, and a Web page that invokes the servlet. The database used in this application is the inline Derby database with RAD 7.5. The following diagram depicts the sequence of interactions between the various components of an application.
Sequence diagram
Follow these steps to develop your application:
Create JPA projects and entities, and specify mappings
Creating an EJB V3.0 project, and session beans using the JPA entity
Create a Web V2.5 project and a servlet that calls the session bean
Set up a data source and run a Web page on a WebSphere V7.0