Java Data Objects—An Alternative to Bean-Managed Persistence

Entity beans are the solution for object-to-relational mapping from the J2EE stable. But the technology behind entity beans has run into a lot of performance problems right from its introduction. You have already studied these issues and their resolutions (to a certain extent) in the new EJB 2.0 specification.

The core issue is not entity beans (using either CMP or BMP) themselves but the mismatch between the object world of objects and relational world of database tables. There exists a hierarchical relationship or association between objects. This means that when an object contains other objects, which in turn may contain other objects, the entire association is one of a hierarchical ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ 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.