Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

EJB Transformations

The EJB Session Bean and EJB Entity Bean transformations reduce the work required to generate the internals of Enterprise Java Beans. You can therefore focus on modeling at a higher level of abstraction.

Transformations

Transformation

Detail

See also

EJB Session Bean

This transformation converts a single Class element (containing the attributes, operations and references required for code generation by the javax.ejb.* Package) to

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

 

 

EJB Entity Bean

This transformation converts a single Class element (containing the attributes, operations and references required for code generation by the javax.ejb.* Package) to:

·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 PIM elements

PIM

 

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

PSM_EntityBean

Learn more