JAVA FAQS

–     3 Main Roles:
•      Model
•      Encapsulates application state
•      Responds to state queries
•      Exposes application
•      Notifies Views of changes
»    EJB Entity Beans
»    Command Beans (Websphere)
•      View
•      Renders the models

•    Requests updates from the Models

•      Sends user gestures to the Controller
•      Allows the Controller to select the View
»    JSPs
»    Servlets
»    JavaBeans
•      Controller
•      Defines application behavior
•      Maps user actions to Model updates
•      Selects View for response
•    One for each functionality

0 comments:

Post a Comment