Entity Bean Views and the UML

Structurally, entity beans consist of a main Java class, often called the implementation class or the entity bean class, and two interfaces: Home and Remote. It also has a primary key class that contains methods for operating on the primary key for a single database table, or some compound set, depending on the data the EJB is intended to represent. The relationships between these items, as well as the particular J2EE base objects these items extend and implement, give the entity bean its particular functionality and usefulness as an EJB component.

Entity beans, like all EJBs, make use of a deployment descriptor to hold additional information pertaining to the component. This includes transaction settings on business ...

Get Developing Enterprise Java Applications with J2EE™ and UML 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.