5.5. Design philosophy

Because this application is designed for educational, rather than production, purposes, we can avoid constraints that may exist in the real world. The most important of these is that we have no pre-existing data model, so we can allow the application server to construct one. This means that the design of the entity EJB tier can be closer to real object-oriented concepts than perhaps might normally be the case. Other design choices include the following.

  • We will use only EJB 2.0 container-managed persistence for the entity EJBs. Although this persistence technique has a relatively short pedigree, it offers both performance and simplicity advantages over the alternatives (see Chapter 13).

  • The application will be built in ...

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.