TechnoBuzz

A Techno Blog, mainly about Java

MVC roles

Model (Databases, JavaBeans)
- Stores the application’s state
- Provides access to the application’s data as well as the business rules for modifying the data (accessors and business methods).
- Notifies view when state is changed

View (jsp, html)
- renders the content of the model
- access data from model and decide how to present it
- forward user input to controller

Controller (Servlets)
- defines application behavior
- it processes user input and maps them into actions to be performed by the model
- selects views to be rendered

August 23, 2004 - Posted by davidbloom | Patterns & UML | | No Comments Yet

No comments yet.

Leave a comment