3.9. Overview of the EJB API

You may prefer to have a look at the example of a complete EJB in the next chapter before reading this section. Although this information is important, you will be able to follow what is involved in constructing and testing an EJB without this.

To ensure a uniform API between the EJB, the container, and the clients, the various parts of an EJB are required to implement certain interfaces. The most important of these are described briefly here. All these interfaces and their methods will be explained in more detail later in the book.

3.9.1. EJBHome and EJBLocalHome

All remote home interfaces must extend javax.ejb.EJBHome, while local home interfaces extend javax.ejb.EJBLocalHome. No special effort is required on ...

Get Applied Enterprise JavaBeans™ Technology 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.