Find Available Resources Use Case J2EE

In the Find Available Resources use case, the project manager searches for available resources for a project by start date, end date, and skills. See Figure .

Reserve Resource use case

Reserve Resource use case
Pattern Identification

For this use case, we use the following presentation patterns:

  • Intercepting Filter— A filter checks user privileges for searching for available resources.
  • Front Controller— A controller acts as the initial point of contact for searching for resources. The controller delegates resource availability related processing to its helpers, which in turn delegate much of this processing to the business tier.
  • View Helper— The view delegates to its helpers in order to generate dynamic portions of the display.
  • Composite View— The view includes a header and a footer to create the search for available resources page. This is a very simple example of a composite view.

We use the following business patterns:

  • Business Delegate— A business delegate interacts with the business tier when searching for available resources.
  • Service Locator— A business delegate uses a service locator to look up the resource components.
  • Session Facade— The business delegate interacts with a session bean, which interacts with the list handler when searching for available resources.
  • Value Object— The commitment value object encapsulates the commitment data, which is passed from the presentation tier to the business tier.
  • Composite Entity— A project entity acts as a coarse-grained object to the dependent commitment objects.
  • Value List Handler— A value list handler controls the lookup,cache,and iteration of the resources.

We use the following integration patterns:

Data Access Object— A data access object abstracts and encapsulates access to commitments and resource tables.

The Below Figure is the pattern framework for the Find Available Resources use case. It shows the patterns used in presentation, business, and integration.

Find Available Resources pattern framework

Find Available Resources pattern framework

Pattern Realization
Figure 12 shows the realized patterns for the Find Available Resources use case. The following list matches the name of an implementation class with the pattern from which it is realized:

  • Presentation—The Find Available Resources form is shown in Figure 13.
  • Business

Find Available Resources realized patterns

Find Available Resources realized patterns

Find Available Resources Form

Find Available Resources Form

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

J2EE Topics