Image

Spring Framework!

I was trying to learn to make use of Spring Framework! to develop a simple web-app so I did a lot of 'googling'. I found information to the tune of thousands of links, huge manuals, e-books etc which are quite cumbersome to follow. (I am a newbie when it comes to Spring!).


If I were to tell a newbie about Struts Framework in five simple steps, I would go by:
1. Download and explode struts-blankxxx.war (xxx referring to the version) on your system.
2. Write a:
a) Form Bean class(with setter & getter methods, validate method(if needed)); extending it to DynaActionForm eliminates the need for setter & getter methods, to DynaValidatorForm eliminates the need to take care of client-side validations, etc. (place under /WebRoot/WEB-INF/classes)
b) Action Class extending Action with execute method containing the business logic or a call to a class containing the actual business logic. (place under /WebRoot/WEB-INF/classes)
c) Provide a jsp form to capture user input and call the Action servlet. (place under /WebRoot)
d) Configure the settings in the deployment descriptors(config files) like: struts-config.xml, validation.xml, etc.
e) Deploy and run your application.

Is there a similar short way of understanding Spring Framework?