Java - Learning MVC

Java - Learning MVC

Here is pretty nice example http://www.leepoint.net/GUI/structure/40mvc.html I tried to find simplest possible to let you feel the idea.

Anyway I don't like the:

Seems to me there is not a defined MVC architecture in Java.

You can use MVC, MVP and whole other patterns in various different languages. Java has nothing to do with MVC, except MVC design can be coded in Java. There are, however, some frameworks that have embedded MVC architecture and forces using it. Spring MVC is the most known - try to find more about it, maybe some tutorials.

How to learn JSP/MVC, with previous experience in ASP.Net MVC?

To supplement the answer above, I have dug up this fantastic article on getting started in JSP:

http://articles.sitepoint.com/article/java-6-steps-mvc-web-apps

It goes right into the basics of servlets, jsp and then mvc techniques, none of the mumbo jumbo in other MVC tutorials out there for JSP. Very down to earth. Wish the guy who wrote it would write a book on this topic...

Spring MVC tutorial from the scratch

UPDATE: Due to amazing effort by the Spring team links posted here stands as sort of outdated.
I will advice anyone looking to learn spring from scratch to head over to new awesome guides created by spring team.

Sample codes for the same can be found at Github

Original Answer :

try these links.. hope they are useful.
mkyong and vanilla

and ofcourse Spring's own site

ADDED :
found this new awesome blog do try this also..
its thorough.
:)

Resource for learning Spring MVC

I have used this tutorial to start. I found it very helpful.

http://static.springframework.org/docs/Spring-MVC-step-by-step/



Related Topics



Leave a reply



Submit