EJB Views and the UML
Structurally, EJBs consist of a main Java class, often called the implementation class or the bean class, and two interfaces: Home and Remote. In the case of entity beans (discussed in Chapter 13), there is also a primary key class. The relationships between these items, as well as the particular J2EE base objects these items extend and implement, give the EJB its particular functionality and usefulness as a J2EE component.
All EJBs make use of a deployment descriptor to hold additional information pertaining to the component. This includes information like transaction settings on business methods, settings for the bean type, security settings, and more.
EJB component types are deployed within an EJB container with the help ...
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.