Exercise 3.4: Creating the package structure of the business design layer

In this exercise, you create the package structure and package diagram of the itso.ad.business design layer. The itso.ad.business layer contains the business logic of the PiggyBank design model. The itso.ad.business layer contains the delegate.ejb, ejb, and framework implementation design subpackages.

The itso.ad.business layer contains the implementation of the business logic for the PiggyBank online banking system and contains the subpackages in the following table:

Package Description
delegate.ejb This subpackage contains the framework implementation for accessing the PiggyBank EJB.
ejb This subpackage contains the persistent storage model for PiggyBank transaction and customer data.
framework This subpackage describes the isolation layer between the presentation layer the PiggyBank user interface and the persistence model. The framework layer provides the abstraction between the client interface and the implementation.

In this exercise, you identify the itso.ad.business implementation design subpackage structure by creating the itso.ad.business design elements overview diagram.

Creating the itso.ad.business subpackage

The itso.ad.business subpackage contains the ejb, ejb.delegate, and framework subpackages.

To create the itso.ad.business subpackage:
  1. In the Model Explorer view, and expand Enterprise IT Design Model, expand PiggyBank Implementation Designs.
  2. In the itso.ad.business subpackage, delete the control, domain, presentation, and resource subpackages. These packages are included in the template and are not used in the itso.ad.business subpackage.
  3. In the Model Explorer view, double-click the itso.ad.business Design Elements diagram.
  4. In the Palette, double-click Package and name the package framework.
  5. In the Palette, double-click Package and name the package delegate.ejb.
  6. In the Palette, double-click Package and name the package ejb.
  7. In the Palette, click Dependency.
  8. In the diagram editor, click the delegate.ejb package and drag it to the framework package.
  9. In the Palette, beside Dependency, click the down arrow, and click Usage.
  10. In the diagram editor, click the delegate.ejb package and drag it to the ejb package.

You have identified the basic structure of the itso.ad.business subpackage by creating the basic outline of the itso.ad.business Design Elements diagram. The diagram shows the structure of the subpackage, but also the relationships that exist between packages. You add to this diagram as you continue to model the itso.ad.business subpackage. Your diagram should look similar to the following figure:

The itso.ad.business Design Elements diagram.

By creating the overview diagram, you automtically create the package structure in the itso.ad.business subpackage. Your model structure should look similar to the following figure:

The Model Explorer showing the current structure of the itso.ad.business subpackage.

Now that you created the itso.ad.business subpackage structure, you can model each component. To continue, proceed to Exercise 3.5: Modeling the framework component layer.

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.