J2EE applications of late have become weight conscious. The combined burden
of EJBs and coarse-grained component design has given the term test driven
design a new meaning: technology driven design! Fortunately a host of
lightweight solutions are emerging, such as PicoContainer, Spring Framework,
Hivemind, Hibernate, Castor, and Webwork. In this article I'll discuss my
experience with the Spring Framework and how it can be used to make a J2EE
application more maintainable, testable, and better performing.
Although there are many areas that Spring 1.2.4 covers, I will be covering
only Spring IoC (Inversion of Control) and Spring AOP (Aspect-Oriented
Programming). These two along with the (non-Spring) concept of coding to
interfaces form the cornerstone on which other Spring technologies are based.
Using Spring AOP and IoC we will see how you can replace container-provi... (more)