Java Reference
In-Depth Information
Figure 3-19.
Service to worker sequence diagram
Consequences
Benefits
•
Foster best practice
: This lays down clear guidelines for combining presentation tier
patterns. It also provides the directive to connect business components from page
controllers only.
•
Easy to implement
: It is easy to implement this solution in Spring because every-
thing is glued together using configuration once most of the custom components
are ready. Spring also provides extensive support for building these custom com-
ponents quickly and easily.
•
Role separation
: With the guidelines set clearly, the task of application develop-
ment can be distributed among page authors working on the view and application
developers concentrating on page controllers and business components.
Concerns
•
Performance concern
: Too many layers and too much delegation can degrade per-
formance. So, designers must be careful when deciding the layers and components
to use.
