< Previous | Next >

Lesson 3.4: Create the package structure of the business design layer

In this lesson, 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 implementation design subpackages called delegate.ejb, ejb, and framework.

About this task

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

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 transactions and customer data.
framework This subpackage describes the isolation layer between the presentation layer of the PiggyBank user interface and the persistence model. The framework layer provides the abstraction between the client interface and the implementation.

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

Create the itso.ad.business subpackage

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

Procedure

  1. In the Project Explorer view, expand Enterprise IT Design Model and 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 Project 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.

Results

You 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 Project Explorer showing the current structure of the itso.ad.business subpackage.

< Previous | Next >

Feedback