Introduction to Enterprise JavaBeans

In this section, we provide a basic introduction to Enterprise JavaBeans and their deployment descriptors. A deployment descriptor defines the beans and classes that make up an EJB and includes additional attributes such as how an EJB behaves in a transaction, how it is secured, and the relationships between beans.

Enterprise JavaBean Types

In the EJB 2.0 specification, there are three major types of Enterprise Java Beans: Session Beans, Entity Beans, and Message Driven Beans. Each one serves a very different purpose, and they can be used together or independently. We will proceed with a brief introduction of each.

Session Beans

Session Beans are EJBs that are meant to control the flow of an application, and ...

Get IBM WebSphere: Deployment and Advanced Configuration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.