Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8541935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:56:36+00:00 2026-06-11T11:56:36+00:00

I heard that controller belongs to the presentation layer. How is it possible? I

  • 0

I heard that controller belongs to the presentation layer. How is it possible?

I thought that :

  • view is for presentation
  • model is for business logic
  • controller is for controlling logic

Is there good link to prove that controller belongs to the presentation layer?

“Spring MVC is used for presentation layer”: how can we use MVC only in the presentation layer?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:56:37+00:00Added an answer on June 11, 2026 at 11:56 am

    The presentation layer contains views and controllers.
    You must not mistake an MVC architecture for a multitier/layer architecture (especially a 3-tier architecture). Most of the time Model/View/Controller is not the primary design of a web application, it is just a subset of a multitier/layer architecture.

    Take a look at this oversimplified scheme (you could have the DAOs in a dedicated Data Access Layer, but this is not important in this post) :

    Simplified layers

    Spring MVC is a presentation framework : it deals with controllers and views. But why the “M” in Spring MVC ? Just because, as many other presentation framework, it naturally deals with a representation of a model/entity (“M”). This representation is the one used in your controllers, displayed in your views, submitted in your forms, etc. That’s why the framework is called Spring MVC, even if the model/entity is not part of the prensentation layer.

    I think it is a good name for this Framework, because it is really “MVC” oriented. Indeed the representation of a model/entity can be :

    • direct : the framework directly handles the model/entity object
    • indirect : the framework handles a form object or DTO, that contains information related to one or multiple entities

    Spring’s recommendation is to directly use the model/entity (“M”) object :

    Reusable business code, no need for duplication. Use existing business objects as command or form objects instead of mirroring them to extend a particular framework base class.

    That’s why I say the framework is very “MVC” oriented, compared to others, like Struts, where you have to use different form objects.

    Some interesting links :

    • Comparison between Multitier and MVC architecture, from Wikipedia
    • This blog post about 3-tier architecture in ASP.NET
    • This blog image of a 3-tier architecture
    • DispatcherServlet chapter from Spring’s documentation
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I heard that it's possible to identify the brand of a device (or at
I heard that having @foreach inside of a view is a no-no. Meaning, the
I heard that in PHP there are some alternatives for the functions substr() and
I heard that there is a hard limit on the size of .Net Array
Anyone heard that it's possible to login to Windows xp programmatically, I want to
You've probably heard of the Fat Model/Thin Controller vs. Thin Model/Fat Controller distinction. I
I heard that Google can track all the static pages in a website and
I heard that you need to create images for both retina and non-retina. And
I heard that SQL is faster if table relationships are defined. Is this true?
I heard that JNBridge will translate C# code to native Java code.( I haven't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.