Spring Reading - Getting Started with Spring Framework. We Recommend These Resources Here's a list of reading for getting started with Spring: Inversion of Control Containers and the Dependency Injection pattern - Martin Fowler's seminal oldie, but goodie bliki article. It seems quaint at this point, but only because "everyone's doing it" (which was heavily due to Martin Fowler's work). It's a bit confusing at times, but should be a required read. Note: I put this together for an experienced developer who's a Spring newbie who would like to learn a bit about the theory and implementation of Spring. From Your rating: None Average: 2 (3 votes) Spring.NET - Application Framework. Team Blog » The Essence of Spring. Evolutionary Goo » Blog Archive » Choosing a Java Web Framework. Migrating to Spring. Migrating to Spring Pages: 1, 2, 3 Changing the Web Tier: SpringMVC Now that I have Spring-ified the infrastructure and data code, it's time to tackle the web tier.
The central class here is Spring MVC's Controller interface: package org.springframework ... interface Controller { public ModelAndView handleRequest( HttpServletRequest request , HttpServletResponse response ) throws Exception ; } The entry point, handleRequest(), has a signature similar to a Struts Action class or even a homegrown page controller: the framework provides the servlet request and response objects, and the controller implementation returns the result of some business logic (the model) and an indicator of how to display it (the view).
The model of ModelAndView is a Map of business objects or other data that will be manipulated at the view tier. The sample app's servlet page controllers are so simple that the power of Spring MVC doesn't shine through. That sounds easy enough, right? Ugly? The Round-up Resources. Acegi Security System for Spring - Acegi Security System for Spring.