Archive for the Spring category

[TSE] Slides for Advanced MVC, Scheduling and JMX Presentations

Well, I’m finally back from my conference tour and feeling human again. As promised to all the attendees at TSE, here are the presentations for MVC, scheduling and JMX that I gave at TSE along with the code for the sample application and the demos.

Presentations:
Advanced Spring MVC
Enterprise Management with Spring and JMX
Scheduling and Task Execution

Code:
DVD […]

Controlling MBean Registration Behavior in Spring

Until quite recently, the JMX support in Spring gave you little control over the registration of MBeans that may already exist. This caused problems in applications that wanted to share MBeans with other applications, or in scenarios where MBean cleanup isn’t guaranteed. As of Spring 1.2.5 we introduced a new feature to allow for much better control of MBean registration behaviour.

Caveats with Class Proxying in Spring

Recently, Jieba Wu posted an interesting bug report on the Spring JIRA detailing a problem he was having when proxying Spring MVC Controllers using CGLIB proxies. Essentially, he would create his target Controller object, pass in some dependency using Spring IoC and then proxy the Controller. At runtime, all invocations were sent directly to […]