User Tools

Site Tools


mvc

This is an old revision of the document!


Table of Contents

MVC

This lecture covers the MVC design pattern for web applications in the context of a mini-project.

Outline

  • The controller must control and dispatch by relying on the Model and forwarding to a JSP
  • Tomcat provides three Map<String,Object> places to hold data with three levels of scope: request, session, and application.
  • State can be captured using the session object. Its API allows us to detect the start of new sessions.
  • The model is best packaged as a Java package.
  • The model uses beans and POJOs.

To Do

  • Read the rest of Chapter 6.
  • Do Lab 4.
mvc.1192567251.txt.gz · Last modified: 2007/10/16 20:40 by roumani