In this exercise, you apply a profile to the design model and you apply stereotypes to UML classes.
You can apply a profile to a UML model to define the output of a transformation. You can use the EJB transformation profile to specify the elements that are transformed into enterprise beans from the PiggyBank design model. The EJB profile defines stereotypes that the EJB transformation interprets to generate enterprise beans. For example, when you apply the «Entity» stereotype to a class in your model, the transformation generates an entity bean from the class.
To generate enterprise beans, you apply the EJB profile to the itso.ad.business subpackage of the PiggyBank design model. You then apply the stereotypes in the profile to the model elements.
To create EJB classes when your model is transformed, you must apply the EJB profile to your design model.
You have completed the business and integration layers of the PiggyBank design model. The design model completes the PiggyBank UML model. Note that the tutorial did not model the common design layer because the common layer contains only utility classes that perform secondary tasks in the application. You can download the complete PiggyBank design model from the PiggyBank online banking system summary page.
To continue, proceed to the tutorial Summary.