• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MVC TYPES

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

How many MVC types are there and what are the difference between them?

I got this question from an interview..

Kindly help me to clear my doubt....

-Arun
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think your interviewer was reading this page before the interview!

Anyways, moving to Servlet forum as this is not just about Java!

(Bear/Paul/Jesper feel free to move it else where. I am not sure in which forum this question is more appropriate.)
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well if you're not moving the thread, then I'll do it
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This has nothing to do with servlets. MVC is just an architectural pattern. It would suit more in the OO/Patterns forum.
 
Arun R. S. Chandran
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for all your guidance.

-Arun
 
Arun R. S. Chandran
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody please guide me through the answer?

-Arun
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your interview, what was your response to this question?
 
Arun R. S. Chandran
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am very sad to say that I didn't get that interview.

When she asked this question I answered I don't know about MVC types, I'll update my knowledge soon. And then She asked about tier applications(single tier, two tier) , and so on.

-Arun
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
She most likely was assessing your knowledge of Struts and Spring. If you claim that you have experience with these frameworks and
don't understand the Model-View-Controller design pattern, then your experience is significantly limited.

It is not a good question though, in my opinion. The design pattern can be implemented in many different types of ways with a variety of programming languages. For example, if you are writing a C++ desktop application based on the MVC pattern, then this will be implemented differently than a Java-based desktop application.

In regards to Java-based, browser-based applications, there are a couple of "known" implementation styles (types). These are only implementation details and is not a part of the pattern itself. The question does not make this distinction between "implementation" and the pattern. Just throwing the
acronym in a sentence is not very concise.

Good luck with your studies!
 
Arun R. S. Chandran
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi James,

Thanks for your great guidance.

I want to know more about Struts and Spring. I meant technically. Can you please guide me where I can collect most Useful technical knowledge?

-Arun
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To gain technical knowledge of the two frameworks you should study the API and create prototypes using the frameworks. This requires some level of dedication and discipline. Also, there is a significant amount of technical knowledge in various books about the frameworks. So, you need to read and need to purchase at least three books for each framework. After studying three books by three different authors, studying the API and creating at least four or five prototypes, you should have the technical knowledge you seek.

To find books about the frameworks, visit any bookstore or website such as Amazon.com, Borders.com, or BarnesAndNoble.com. When you visit these websites, all you need to do to find relevant books is to search the inventory using the name of the framework. The search results should show you a wide selection of material.

Good luck!



 
Arun R. S. Chandran
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi james,

Thanks a lot for your kind guidance.

-Arun
 
reply
    Bookmark Topic Watch Topic
  • New Topic