aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes MVC TYPES Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "MVC TYPES" Watch "MVC TYPES" New topic
Author

MVC TYPES

Arun R. S. Chandran
Ranch Hand

Joined: Oct 08, 2008
Posts: 81
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
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

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.)


apigee, a better way to API!
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19781
    
  20

Well if you're not moving the thread, then I'll do it


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
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

Joined: Oct 08, 2008
Posts: 81
Thanks for all your guidance.

-Arun
Arun R. S. Chandran
Ranch Hand

Joined: Oct 08, 2008
Posts: 81
Can anybody please guide me through the answer?

-Arun
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
In your interview, what was your response to this question?
Arun R. S. Chandran
Ranch Hand

Joined: Oct 08, 2008
Posts: 81
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

Joined: Apr 16, 2008
Posts: 2187
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

Joined: Oct 08, 2008
Posts: 81

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

Joined: Apr 16, 2008
Posts: 2187
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

Joined: Oct 08, 2008
Posts: 81
Hi james,

Thanks a lot for your kind guidance.

-Arun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC TYPES