Model_2 Model_2

Model 2 - Definition and Overview

Related Words: Apotheosis, Archetypal, Archetype, Archetypical, Arrangement, Assemble, Barometer, Beauty, Belle, Brand, Build, Bunny

In the design of Java Web applications, there are generally used two design models called Model 1 and Model 2. Model 1 is simpler and only recommended for small applications. Model 2 discussed here is recommended for medium- and large-sized applications. It is based on the Model-View-Controller (MVC) design pattern to separate presentation from content.

To understand this article, you should be familiar with the Java programming language in general, and in particular with Java servlets, JavaServer Pages (JSPs) and Java Beans.

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

See also:

http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html by Govind Seshadri

http://www.fawcette.com/javapro/2002_06/online/servlets_06_11_02/ by Budi Kurniawan

Example Usage of Model

racing_cars: Fast cars Peugeot to suits your needs. Model: 206+cc 2.0 http://www.ooyyo.com/en/used-cars/peugeot-206+cc/france/
LondonAudis: vauxal vectra (2000 Model) (walthamstow, Price: £1,150): Beautiful vectra excellent runner engine gear box clut.. http://snipurl.com/tkbst
Drubulous: @kathygriffin Congratulations Griffster! Did Mike give you the full top Model treatment?? It's yours this year for sure.
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.