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 . 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:
- Click .
- In the Configure Transformations window, from
the Transformations/Configurations list, select a transformation
configuration.
- Click the Entity tab.
- On the Entity page, click an entity bean type.
- 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 |
- Click Apply.
- Click Close.