O'Reilly logo

Advanced JavaServer Pages™ by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required