< Previous | Next >

Lesson 3: Observe a new custom stereotype

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

  1. 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.
  2. In the Project Explorer view, navigate to the RoseImportSample_custom.mdl, and then open the Start Here diagram located in the Logical View.
  3. Double-click the hyperlinked note under Loan System EJBs to jump to the ejb Package Overview diagram.
  4. In the diagram editor, click the LoanManagerBean session bean, and then click the Stereotype tab in the Properties view and observe the following information:
    1. The EJBSession__class stereotype is applied, which provides the bean shape in the diagram editor
    2. The default__Class stereotype provides the default Java add-in properties
    3. 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.
< Previous | Next >

Feedback