Case Study
A company was implementing an online-ordering system using EJB 1.1. The database architecture was inherited from a previous version of the application and used automatically generated keys. The implementation of CMP wasn't very efficient and didn't deal with many of the complex relationships in the database.
The company opted for using BMP with views for many of the database tables. The entity beans had methods to return views of its data and to change its data from the contents of a view. Because some of the relationships were too complex to represent with single entity beans, the company also decided to use session beans to do some of the database work. For example, some views contained data spread across different database tables. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access