Core J2EE Patterns

©

Presentation Tier

Business Tier

Integration Tier


Core J2EE Pattern Catalog

© CoreJ2EEPatterns
All Rights Reserved.

Last Updated:
January 29, 2006 8:54 PM

In Association with Amazon.com


Service To Worker

See Core J2EE Patterns, 2nd Edition for full description of this pattern and its strategies.

Problem

You want to perform core request handling and invoke business logic before control is passed to the view.

Forces

Solution

Use Service to Worker to centralize control and request handling to retrieve a presentation model before turning control over to the view. The view generates a dynamic response based on the presentation model.

Class Diagram

Sequence Diagram

Strategies

Consequences

Related Patterns

Excerpted from Core J2EE Patterns, 2nd Edition. See the book for full description of the pattern including class diagrams, sequence diagrams and sample code.

Contact Us © CoreJ2EEPatterns.com. All Rights Reserved. Terms of use

AltStyle によって変換されたページ (->オリジナル) /