Home

 

Developing EJB applications

In this chapter, we introduce Enterprise JavaBeans (EJB) and demonstrate by example how to create, maintain, and test such components in the J2EE platform.

We describe how to develop entity beans, and explain the relationships between the entity beans and session beans. Then we integrate the EJBs with a front-end Web application for the sample application. We include examples for creating, developing, and testing the EJBs using Rational Application Developer.

The chapter is organized into the following sections:

Introduction to Enterprise JavaBeans

Sample application overview

Preparing for the sample

Developing an EJB application

Testing the session EJB and the entities

Writing an EJB 3.0 Web application

More information

The sample code for this chapter is in 7672code\ejb.

ibm.com/redbooks