PiggyBank design model transformations and code details

This sample creates the Java and Enterprise JavaBean (EJB) projects that contain the generated code for the PiggyBank online banking system. The sample also contains the following items:

  • Transformation configurations that generate implementation code
  • A version of the PiggyBank design model with the EJBTransformProfile transformation configuration applied to it so that the UML to EJB transformation generates valid EJBs

The design model is used to generate the following projects:

ProjectDescription
ItsoAdCommon Contains common Java classes that other projects share
ItsoAdEJB Contains Account and Customer EJB entity beans and the PiggyBank facade EJB session bean.
ItsoAdFramework Contains the Java code that defines the interfaces of the delegate layer (the Customer/Account delegate layer isolates client and UI code from the underlying implementation of customers and accounts as EJBs)
ItsoAdBusinessEJBImpl Contains the Java code that implements the Delegate layer by using EJBs
ItsoAdWebServiceUtilityContains the CityBankDataAccessObject, which is a wrapper on the CityBank Web service

For each project, you must create a transformation configuration to target the project. Each transformation configuration is executed against a subset of the design model. For more information about transformation configurations, see Setup instructions.