tags:

views:

45

answers:

4

I've never had the joy of putting together a java web-app in the MVC form myself before?

Stopping shy of a letmegooglethatforyou.com request, would any on here be able to recommend a good place I might find a good boilerplate src to learn from?

I seem to learn best that way...

With Thanks,

Mike

A: 

Look at some successful web MVC frameworks: Spring, Wicket, Struts (okay, not that successful), etc.

duffymo
If popularity is any measure Struts seems very successful. Sure don't see the attraction, though.
Nathan Hughes
Agreed. It was the first, so that counts for something.
duffymo
A: 

http://www.ensta.fr/~diam/java/online/notes-java/GUI/structure/40mvc.html , http://onjava.com/pub/a/onjava/2004/07/07/genericmvc.html , http://www.oracle.com/technetwork/articles/javase/mvc-136693.html and basically anything else you turn up with a search for "MVC java" contain plenty of source code you can peruse to learn the basics of MVC in Java. These all contain some small examples of simple MVC that you can look at quickly.

So, to answer your question, the best place to find stuff like this is a neat website called http://www.google.com . Seriously, you can go to Oracle's website as well and look at some of the docs.

Rafe Kettler
I don't really understand. Why -1?
Rafe Kettler
A: 

This Spring MVC step-by-step article is a tutorial on putting together a webapp with Spring MVC, the Spring framework, and JDBC, using HSQL.

Nathan Hughes
A: 

The Spring MVC Petstore (various versions included in the full spring distribution) is exactly such project. Moreover it has been heavily used as an example and there are several versions of it that highlight boilerplate code vor various scenarios (Spring Security, DWR, etc.)

vstoyanov