16.4. Designing applications with EJB 3.0
We've focused on the Java Persistence standard in this book and discussed only a few examples of other EJB 3.0 programming constructs. We wrote some EJB session beans, enabled container-managed transactions, and used container injection to get an EntityManager.
There is much more to be discovered in the EJB 3.0 programming model. In the following sections, we show you how to simplify some of the previous patterns with EJB 3.0 components. However, we again only look at features that are relevant for a database application, so you need to refer to other documentation if you want to know more about timers, EJB interceptors, or message-driven EJBs.
First you'll implement an action in a web application with ...
Get Java Persistence with Hibernate 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.