Opentopia Directory Encyclopedia Tools

Model 2

Encyclopedia : M : MO : MOD : Model 2


This article is about the Java design model. For the arcade board, see Sega Model 2.
In the design of Java Web applications, there are two commonly-used design models, referred to as Model 1 and Model 2.

Model 1 is simpler and only recommended for small applications. Model 2 is recommended for medium- and large-sized applications. It uses the Model-View-Controller (MVC) design pattern to separate presentation from content.

In a Model 2 application, requests from the client browser are passed to the controller, which is a servlet. The controller decides which view (JSP) it will pass the request to. The view then invokes methods in a JavaBean (which may access a database) and returns the Response object to the Web container, which is then passed on to the client browser.

External links

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: