Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

Interactive Web Application Architectures

The Model-View-Controller (MVC) architecture is a widely-used architectural approach for interactive applications. The MVC architecture separates functionality among application objects so as to minimize the degree of coupling between the objects. To achieve this, it divides applications into three layers: Model, View, and Controller. Each layer handles specific tasks and has responsibilities to the other layers:

When employed in a Web application, the MVC architecture is often referred to as a Model-2 architecture. A Web application that intermixes presentation and business logic employs what is known as a Model-1 architecture. The Model-2 architecture is the recommended approach for designing Web applications.

Divider
Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.