Spring in Small Doses
Spring is a well organized framework and IoC container that can be used in a modular way. In this article we are going to see how Spring can help us to develop applications by integrating it step by step into a tiny report engine. The main goal is the development of a engine that should be flexible enough to be used on a desktop as well as on a web client. The engine may access data stored in a database, file system or FTP server and in different formats like database columns, CSV or XML. Spring is going to play a key role because it facilitates the development of such an application based on reusable classes and interfaces.
Article:
http://java.ondeman.de/wordpress/wp-content/uploads/2008/03/spring_in_small_doses.pdf
Project Files:
http://java.ondeman.de/wordpress/wp-content/uploads/2008/03/spring_in_small_doses_part1.zip
http://java.ondeman.de/wordpress/wp-content/uploads/2008/03/spring_in_small_doses_part2.zip
http://java.ondeman.de/wordpress/wp-content/uploads/2008/03/spring_in_small_doses_part3.zip
http://java.ondeman.de/wordpress/wp-content/uploads/2008/03/spring_in_small_doses_part4.zip
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)





Comments
Peter ___ replied on Fri, 2008/03/21 - 4:26pm
I went through the entire tutorial and it was really easy for me to follow the steps and the ideas, although I am an eclipse and spring newbie. Now it is clear for me that not only enterprise software could benefit from spring - thanks for this!
Peter.
PS: I documented all additional and necessary steps for eclipse here:
http://karussell.wordpress.com/2008/03/20/eclipse-and-spring-in-small-doses
Tiago Brito Spindola replied on Sat, 2008/03/22 - 6:06pm
Hi Peter,
many thanks for the feedback and the additional configuration steps for Eclipse you've described on your blog! I'm glad that now Eclipse newbies also have the possibility to follow the instructions without problems. Thanks!
Tiago.
PJ Murray replied on Tue, 2008/04/08 - 9:49am
Margus Martsepp replied on Sun, 2008/05/11 - 2:52pm
Hi Tiago,
thank you for this wonderful "try it yourself" example, with good OOP design and comments of Springs with Eclipse.