Home
Architectural patterns
Architectural patterns are similar to design patterns except that they are applied at the architectural level and typically involve many classes or a complete application. Some widely applied architectural patterns are layers, multi-tier, model-view-controller, and service-oriented architecture. Rational Application Developer provides support for many architectural patterns though the types of projects it supports and the frameworks that can be used within projects.
The multi-tier architectural pattern is a feature of Java Enterprise Edition (Java EE). When the multi-tier architecture is applied, applications are partitioned so that the components present in a particular partition are hosted in a specific tier. Example tiers in Java EE are the Web or presentation tier and the business or EJB tier. Rational Application Developer supports the multi-tier architectural pattern by allowing developers to create EJB projects for the development of EJB business tier components and Dynamic Web projects for the development of Web components such as servlets and JSP pages.
Another example of architectural pattern support in Rational Application Developer concerns Dynamic Web applications. Dynamic Web applications can be configured using facets. One facet that is available is the Struts facet. Struts is a Web application framework that uses the model-view-controller architectural pattern. Figure | -8 shows the project properties dialog with the Struts facet selected.
![]()
Figure 6-8 Selecting the Struts facet for a the Web project
ibm.com/redbooks