Applying the UML-to-EJB 3.0 transformation profile

You must apply the Enterprise JavaBeans (EJB) 3.0 transformation profile to your source UML model to generate enterprise beans. If you do not apply the stereotypes of the profile to elements in the source model, the transformation will not generate enterprise beans.

Before you begin

You must have a model open in the Modeling perspective.

About this task

To apply the transformation profile:

Procedure

  1. In the Project Explorer view, double-click a model or a package in a model.
  2. In the Properties view, on the Profiles page, click Add Profile.
  3. In the Select Profile dialog box, click Deployed Profile.
  4. From the Deployed Profile list, select EJB 3.0 Transformation.
  5. Click OK.
  6. Click File > Save.
  7. Optional: To validate the model or model element to which the profile is applied, in the Project Explorer view, right-click the item; then click Validate.

Feedback