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
No comments yet.


