O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Servlets and JSPs Together: Model View Controller

J2EE includes a notion of the Model View Controller (MVC) pattern. This design pattern shows how multiple components can cooperate inside of the scope of a single J2EE application. In fact, the MVC pattern is not new. Developers using Smalltalk, a language that was one of the early object-oriented languages in computing, invented it. The pattern focuses on decoupling the graphical interface of an application from the code that actually does the work. This pattern turns out to be a very important idea that affects how code is built. MVC applies to other object-oriented languages, including Java.

MVC Components

There are three components in the MVC pattern in a typical J2EE Web application: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required