Pam Hol wrote:I'm sorry I wasn't clear. Annotations were added to Spring after the Walls book was written. I don't think the Machacek book covers them. I got the impression they were added in Spring 2 and Machacek et all is focusing on Spring 2.5. Perhaps I'm just not looking in the right place. It's a big book and I haven't worked through all the chapters yet but I've been all the way through the Spring MVC sections. I see examples on the web like this one: http://www.vaannila.com/spring/spring-annotation-controller-1.html and I would like to read the background/foundational material instead of trying to infer the rules from examples (because I think I tried that before and I must have missed something).
Basically, you are correct Spring In Action covers Spring 2.0, not 2.5 so no annotations. Pro Spring 2.5 covers some Annotations, but not all. I expect a new Spring in Action on Spring 3.0 to come out this year, I hope. And I am sure some Spring 3.0 books are in the works right now and soon to be released.
In the meantime, reading the docs from www.springframework.org on 3.0 will cover all the Annotations.
Mark