Free Jobs

Java Questions: Core Java (182) J2EE (32) EJB (22) Servlet (33) JDBC (35) Hibernate (17) Struts (15) Swing (26) Oracle (12) JSP (36) Other (0)

Question: What is Model–View–Controller or MVC

To get the Posted Questions details daily in your mail Click Here

Share this question on Facebook/Twitter/Orkut Bookmark and Share

User: mohit555 Post Date: 27 Apr 2011 02:12

What is Model–View–Controller or MVC

Model–View–Controller (MVC) is an architectural pattern used in software engineering. The pattern isolates application   logic component from input and presentation component, permitting independent development, testing and maintenance of each   component.

The model is the domain-specific presentation of the data upon which the application operates.

The view renders the model into a form suitable for interaction.

The controller receives input and initiates a response by making calls on model objects

An MVC application may be a collection of model/view/controller collections, each responsible for a different UI element.


MVC in a web applications:

View is the HTML generated by the application.

controller receives GET or POST input and decides what to do with it,

Model objects contain the business rules(BAL Layer) and know how to carry out specific tasks such as registering a new user.

About Writer:
Hi All,I am Java Developer From Bangalore

Writer's Link:

Writer's Email:


Post Comment

Similar Questions Top QuestionsLatest Questions Other Questions by this Author Copyright © 2009-2011 | All Rights Reserved
All content of this website is protected by copyright laws and should not be reproduced in any form or by any means without written permission
(Best viewed in IE 8.0+ or Firefox 3.0+ at resolution of 1024 * 768 or higher)