JSP PATTERNS
Pattern Types |
Model View and Control - clients that need to access data stored in a database with standard browsers or Wireless appliances such as PDA's. The user interacts with a controller that calls the model to handle the application's functions and in turn uses the view to present the resulting data to the user.
- Model
– JavaBean. Stores and manipulates data
- View
– Java Server Pages (JSP). How data is shown to the user.
- Control
– Servlet or Tag library. Interacts with user and oversees the application. Decides when and how events occur (event handler).
The Model is the business logic, where all the data for an application is stored and manipulated. JavaBeans code the business logic.
Business Delegate – an application that exposes the entire business service API to it's clients across a network.
Value Object - an Applet that receives a large block of data from a server, manipulates it on the client and returns it to the server.
Data Access Object - manages the connection with the data source to obtain and store data.
The scripting element adds Java code to JSP page. Should be used carefully and avoided in the View pages of the MVC model as they are considered as views and do not control or manipulate data.
|
To add an entry or request an existing one to be altered, please click here.
Return to Top
Main Index
(c) Compiled by B V Wood.
|
|
Main Index
UK SPONSERS
USA SPONSERS
|