Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

EJB Transformations

The purpose of the EJB Session Bean transformation and the EJB Entity Bean transformation is to reduce the work required in generating the internals of Enterprise Java Beans, thus enabling you to concentrate on modeling at a higher level of abstraction.

Topics

Topic

Detail

See also

EJB Session Bean transformation

The EJB Session Bean transformation generates the following from a single Class element containing the attributes, operations and references required for code generation by the javax.ejb.* package:

An implementation Class element
A home interface element
A remote interface element

 

 

EJB Entity Bean transformation

The EJB Entity Bean transformation generates the following from a single Class element containing the attributes, operations and references required for code generation by the javax.ejb.* package:

An implementation Class element
A home interface element
A remote interface element
A primary key element

 

 

Both transformations also generate a META-INF package containing a deployment descriptor element.

Example

The Platform-Independent Model (PIM):

PIM

After transformation generates a set of Entity Beans, where each one takes the following form (for the Account Class):

PSM_EntityBean

Learn more