Specifying the entity beans and interfaces that the UML-to-EJB transformation generates

The version number of the EJB container in the source EJB project, and the entity bean type that you select, determine the interface type that the UML-to-EJB transformation can generate.

Before you apply the UML-to-EJB transformation, you should read the information that is available at Modeling > Transform > Configure Transformations. From the Transformations/Configurations list, select UML to EJB. On the Transformation Description page, click View Transformation Documentation.

You must be in the Modeling perspective.

To specify the type of entity bean and interface that the UML-to-EJB transformation generates:
  1. Click Modeling > Transform > Configure Transformations.
  2. In the Configure Transformations window, from the Transformations/Configurations list, select a transformation configuration.
  3. Click the Entity tab.
  4. On the Entity page, click an entity bean type.
  5. To specify the type of interface files that the transformation generates, click one of the following supported interface types.
    EJB container version Entity bean type Supported interfaces
    2.x CMP 2.x Local and remote
    2.x CMP 1.1 Remote
    2.x BMP Local and remote
    1.1 CMP 2.x N/A
    1.1 CMP 1.1 Remote
    1.1 BMP Remote
  6. Click Apply.
  7. Click Close.
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.