Once you have imported the RoseImportSample_custom.mdl file, notice
how the EJBSession__class stereotype is applied, how the default__Class stereotype
provides the default Java™ add-in properties, and how the Custom_EJB__Class
applies the "cg_style" for the class.
About this task
To observe the new custom stereotype:
Procedure
- In the Project Explorer view, expand the Java profile
element and navigate to the new Custom_EJB__Class stereotype
that implements the "Custom_EJB" property set cloned from the "Default_EJB"
set in this model.
- In the Project Explorer view, navigate to the RoseImportSample_custom.mdl,
and then open the Start Here diagram located in the
Logical View.
- Double-click the hyperlinked note under Loan System EJBs to jump
to the ejb Package Overview diagram.
- In the diagram editor, click the LoanManagerBean session bean,
and then click the Stereotype tab in the Properties
view and observe the following information:
- The EJBSession__class stereotype is applied, which provides
the bean shape in the diagram editor
- The default__Class stereotype provides the default Java add-in
properties
- The Custom_EJB__Class applies the "cg_style" for the class.
In Rose, the "Custom_EJB" property set was cloned from the "Default_EJB" set.