15.1. Architectural and structural issues

So far in this book we have considered the various types of EJB in isolation. It is important to have a detailed understanding of the way the various types work, but it is also important to realize that in practice an application may well make use of all three types. This section provides some general guidelines on structuring and architecting an EJB application that consists of multiple EJBs of different types.

15.1.1. The EJB architecture is designed for tiered applications

The EJB Specification says relatively little about the intended applications of each of the EJB types. It is possible, and may be sensible, to build an application entirely of session EJBs, for example. However, the properties ...

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.