Model1 and Model2 Web Application Architectures

Developers of dynamic Web pages quickly realized that coding complex logic into a Web page created development and maintenance problems. This was an issue with early Web page scripting languages even before the introduction of JSP.

The results of early experience with JSP called for a clear delineation of roles for each of the technologies being used. This separation of roles led to some logical conclusions about which technology should be used for which purpose. Because JSP is used in a Web page and a Web page is used for the creation of a presentation, logically JSP should be used just for the creation of dynamic content. Of course, dynamic content can be created using some very complex Java syntax. ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.