answersLogoWhite

0


Best Answer

At first glance, the three tiers may seem similar to the model-view-controller (MVC) concept; however, topologically they are different. A fundamental rule in a three tier architecture is the client tier never communicates directly with the data tier; in a three-tier model all communication must pass through the middle tier. Conceptually the three-tier architecture is linear. However, the MVC architecture is triangular: the view sends updates to the controller, the controller updates the model, and the view gets updated directly from the model.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the relationship between MVC and 3-tier architecture?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why jsp cannot be used as mvc controller instead of servlets?

Because JSPs are designed to take care of the View part of the MVC design patter and not the controller. You can have little or some amount of logic in it, but it is not designed/created with the idea of controlling the flow of control in a J2EE application.


What is MVC framework?

MVC stands for Model View Controller. This is a framework that is commonly used in Java applications where we separate the UI, data and processing logic from one another. Model stands for the Data View stands for the UI Controller stands for processing logic By separating these 3 items, we would be able to modify each of these independently and have an application which is much more robust and easier to maintain than normal frameworks.


How many types of application in java?

There are three types Java based applications. 1. Stand alone application: Where the application can be run on the machine where the code is available and the application is required on minimum one main method. Developed using J2SE API Code has to be distributed to get the output Eg: MSOffice 2. Web Application: Where the application is residing on some container and can be access from any where either from intranet or internet depends on the container exposed and cab developed using J2SE and J2EE Eg: Any internet based applications like Facebook Technology: Servlets and JSPs Framework: Struts and Spring MVC Architecture: MVC Requirement: Webserver which has Servlet container and JSP Container ie WebContainer = Servlet Container + JSP Container Limitations: Supports only HTTP based requests 3. Enterpise Application: These are superset of Webapplications and with additional functionalities like more sophisticated for Business logic where applications needed more transactions ( DB interations) and security. Technology: Servlets, JSP and EJBs Frame Work: Any Frame work including Struts and Spring Architecture: MVC-n tire Requirement: EJB Container along with WebContainer Advantages: 1. Protocol Independent 2. Fully Distributed 3. Full fledged business logic can be implemented with out any other frame works or tools like ORM 4. Supports JTA and JPA


What is the Model View Controller Design Pattern?

The Model-View-Controller architecture compartmentalizes the data and business logic (model) from the presentation (view) from the user action interpreter (controller). This pattern is the hardest on the exam. The idea is closely related to the recent move from two-tier to three-tier architectures. The 3 tiers in a MVC Architecture of a J2EE Application are: 1. Model - Usually JavaBeans 2. View - Usually JSPs 3. Controller - Usually Servlets This pattern is a clear functional separation of roles. It is a formalization of the data-business-presentation movement that dominated three-tier architectures over the last decade. This pattern is very abstract. It is not simply a front end to a datasource connection. This would be like an automobile. The speed of a car is affected by the accelerator pedal (Controller), the speed is shown by the speedometer (View), and the speed is determined by the engine power (Model).


What are the advantages of swing components?

a. It provides Java programmers many new powerful components-- most of which we've been begging for since Java's inception. b. It gives developers a chance to create a powerful, portable application that can not only target users on any Java-compatible platform, but also target their desired look-and-feel as well. c. The distribution is easy to learn, but can also be used at varying levels of complexity to curtail to the programmer's wishes.

Related questions

How jsp used in mvc model?

MVC refers to Model View Controller architecture. Jsp pages are the view part of the MVC architecture...


What is mvc in jsp?

JSP is used for the V part of the MVC Architecture. MVC stands for Model-View-Controller Architecture and JSPs are used for the views.


What is the definition of the word MVC architecture?

The definition of the the word MVC is: "Model-View-Controller (MVC) is a software architecture, currently considered an architectural pattern used in software engineering." The model consists of application data, business rules and all kinds of functions.


Does PHP follow 3-tier architecture?

PHP is a scripting language and does not follow a 3-tier architecture. However, there are several popular frameworks which follow the MVC architecture:Zend FrameworkCakeSymfonyCodeIgniter


When was MVC Consulting created?

MVC Consulting was created in 1981.


Is MVC tool or software?

Software


How to use MVC in Swing Application?

MVC stands for Model View & Controller. In Swings you can use this as follows: Model - Java Beans View - JFrames & JPanels Controller - Event Handlers


What abdominal muscle is the stabilizer in an abdominal curl?

A curl-up on a stable surface, rectus abdominis muscle activity was 21% of MVC and external oblique muscle activity was 5% of MVC.


When i download mvc it is a winrar archive and i cant use it?

If a person has downloaded the program MVC and are unable to access the Winrar archive, they will be required to download Winrar. The program is available through their official site.


What channel is MVCTV on dish?

MVC TV is not currently available on DISH.


What and the Difference Between ASP.NET and MVC?

Asp.net system is a part of a .net platform for building, deploying and running web applications. We can build up a web application by using both Asp.Net Web Form and Asp.Net MVC. In this article, I will uncover the principal difference between Asp.Net Web Form and Asp.Net MVC.We will discuss some important differences that will help you make a right choice between both of them. Let's take a look each of the differences in more detail. Difference between Asp.Net MVC and Web Forms:Our Company: Binary Informatics


What does MVC stand for concerning vehicles?

MVC stands for Motor Vehicle Commission. This is a designation used by some states, like New Jersey, for the place car registrations, drivers licenses, and other similar tasks take place.