Visit our blog
News & Events
Article: Implementing JEE 5 with Spring 2.0 and BEA WebLogic
Christian Dupuis takes a look at the recently released Spring 2.0 based support for key portions of the JEE 5 spec (JSR-220 common annotations as well as the interceptor capabilities of JSR-220). He tries the code in a BEA WebLogic Server Tech Preview version (this code will also be available standalone for use in any JSE environment).
Christian gives a glimpse of how a Spring based JEE 5 environment will offer much more power than basic JEE capabilities. As an example, he bypasses the weak interceptor capabilities of JEE 5, and uses full Spring AOP to apply an interceptor externally, and then uses an AspectJ based aspect.
Note that Christian is using the older (Spring 1.2) style BeanNameAutoProxyCreator mechanism to apply the Spring interceptor. Spring 2.0 does support the use of <aop:advisor> tags to apply Spring interceptors...
Our monthly newsletter is packed full of techniques, tutorials, tips and tricks to get you on your way to Spring nirvana. View Archive