views:

167

answers:

2

I have looked at Spring MVC a few times briefly, and got the basic ideas. However whenever I look closely it seems to require you already know a whole load of 'core Spring'. The book I have for instance has a few hundred pages before it gets onto Spring MVC... which seems a lot to wade through. I'm used to being able to jump in, but there's so much bean-related stuff and XML, it just looks like a mass of data to consume.

Does it simplify if you put the time in, or is Spring just a much bigger framework than I thought? is it possible to learn this side of it in isolation?

+3  A: 

@John Spring just a much bigger framework than I thought? - probably so, at least I thought so.

is it possible to learn this side of it in isolation? - Yes , here is a good way to learn your way http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/spring-web.html

And also I'd recommend you read a book manning spring in action 2nd edition, I also was learning spring from zero, and now I'm comfortable with it after reading this book, of course you have to refer to reference every now and then.

Here is where you can get basic info about MVC concept if you are not already familiar with(its in php, but important thing is point not syntax)

http://net.tutsplus.com/tutorials/other/mvc-for-noobs/

EDIT

If you want to see MVC in action, with examples or other spring uses use this repository https://src.springframework.org/svn/spring-samples to checkout some projects , you'll see mvc-basic, mvc-ajax ..etc this is really good resource , you can checkout projects with Tortoise SVN on windows or subeclipse from eclipse

c0mrade
I think that _is_ the book I bought actually,
John
@c0mrade so you find it bad? I find it excellent, its probably not meant to be read from cover to cover that's why I haven't but I read most of it and I liked it
c0mrade
A: 

At least you need to understand the core Spring - dependency injection, application context configuration and so on. It's actually not too complex, just a bit hard to start. For an experienced developer it might make sense to take a look at some sample app for the basic setup.

ps. I've got this sample project for JSF/Spring/JPA/Hibernate combination. Not Spring-MVC, but may be still helpful.

lexicore
c0mrade
Here's a direct link to the project: http://repository.highsource.org/maven2/releases/org/hisrc/hifaces20/hifaces20-demo-messageboard/0.1.0/hifaces20-demo-messageboard-0.1.0-project.zip
lexicore