Monday, September 3, 2007

Create Lightweight Spring Plug-Ins—à la Eclipse

clipped from www.devx.com
Create Lightweight Spring Plug-Ins—à la Eclipse
Leverage the Spring framework as a platform for creating lightweight plug-ins that work seamlessly with your existing J2EE applications. 

With a plug-in environment that possesses cleanly defined extension points, the core product is free to undergo upgrades and the plug-ins themselves can be released and upgraded on an independent schedule. With my open source Classpath Helper project (based on Eclipse's plug-in framework), I routinely upgrade Eclipse while also releasing newer versions of my own plug-ins.

The popular Spring framework's BeanFactoryPostProcessor interface enables developers to easily create a lightweight plug-in framework. . This article discusses how to do this, and it includes a working code sample that shows lightweight plug-ins in action.

0 comments: