Day 10. Developing Bean-Managed Persistence Entity Beans

Today, you'll work on a complete example of developing a bean-managed persistence (BMP) entity bean. You might question why you need to learn bean-managed persistence when container-managed persistence (CMP) is simpler to write and is the preferred approach. The answer is that you should use bean-managed persistence if you want complete control of managing persistence, if you're writing persistence logic to a very proprietary legacy database system, or when your persistent store is not a database.

The concept of the student is central to the sample university registration application. Multiple clients must share behavior, such as creating a student account, verifying an existing account, ...

Get Sams Teach Yourself EJB in 21 Days 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.