Chapter 6. A MODEL 2 FRAMEWORK
Topics in this Chapter
A Model 2 Framework
The Action Interface
The Action Factory
Action Routers
The Action Servlet
Refining the Design
Adding Use Cases
The Importance of Custom Tags
JSP Scripts
Because the Model 2 architecture is a Model-View-Controller implementation and because it allows for a division of labor between page authors and software developers, it's an excellent choice for developing web applications. But we can do better by encapsulating general code in a framework, thereby significantly reducing the amount of code required to implement applications.
This chapter discusses a simple Model 2 framework that simplifies web application development and lets software developers and page authors work independently. ...
Get Advanced JavaServer Pages™ 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.