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
- In the Project
Explorer view, double-click a model or a package in a model.
- In the Properties view,
on the Profiles page, click Add Profile.
- In the Select
Profile dialog box, click Deployed Profile.
- From the Deployed Profile list,
select EJB 3.0 Transformation.
- Click OK.
- Click .
- 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.