Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Topics in this Chapter:
Separating Presentation and Application Logic
Separating Controller and Presentation Logic
JSP Application Model 1 and 2
Web Archive Files (WAR)
In addition to the need to develop a JSP program is the need to architect a JSP application to suit the production needs of a project. These needs generally fall into two areas, architecture design and program deployment. Design involves creating a central strategy around which the application is to be developed. This involves many things, including program workflow, message flow, and shared access to outside data sources. A major portion of designing an architecture for an application is similar to laying the foundation of a building. It is the framework on which the entire application must rely. The enterprise application needs of scalability, availability, upgradeability, and management all rely on a solid application framework. Is the application composed in such a way that a large development team can work simultaneously? Does minor functionality changes demand a major application change, or simply recoding one component? These questions should be answered by designing the right architecture before development of an application begins.