O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13.1. Persistence management overview

Container-managed persistence has the potential to be of great help to the developer, as well as offering a number of efficiency advantages. The EJB Specification defines a philosophy of persistence management in which the EJB devolves all its persistence management to the container. The container’s job is therefore a significant one.

We have already seen (Chapter 11) that the EJB container can determine when the EJB must be given a chance to read its persistent state from the database, and when it must be given the chance to write it. In summary, the container knows that state is likely to be stale at the start of a transaction, and may well need to be written out just before a transaction commits. With ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required