Topics
Prev Next

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

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

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

Example

The PIM elements

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

Learn more