Java Reference
In-Depth Information
Figure 3-16. eInsure primary layout
• Compose a bigger view using reusable subviews for header, footer, menu, and
• Identify and compose reusable components and containers.
• Place components and containers in appropriate layouts so that they can be
changed in a flexible way.
Use a composite view to group and deploy a pluggable and dynamic set of subview
components with the appropriate layout.
Strategies with the Spring Framework
The composite view pattern is a combination of two well-known GOF design patterns:
Composite and Strategy. The layouts provide a strategy for forming bigger view compo-
nents comprised of smaller composite subviews. You have already seen components and
a container with respect to the View Helper pattern described earlier. I modified the JSP
to support a reusable input text box and select controls, embedded in a form container.
Search WWH ::

Custom Search