I met with Rod Johnson this morning, and he demonstrated Spring's new first class support for custom scopes (no more AOP/proxy hacks!). That alone justifies taking Spring for another spin, but he also showed off their new support for injecting constructor parameters by name, i.e. no more worrying about parameter indices or mixing up parameters of the same type. You can capture the parameter names by compiling in debug mode or using a special tool at compile time. Let's see you do that with plain Java. Last but not least, keep an eye out for Spring's new plain Java bean definitions. The Java definitions play nicely with Spring XML which means you can mix and match Java and XML using the best option for the task at hand. For example you might use plain Java to declare that a given class has a dependency on a data source and XML to configure the data source itself. Thanks, Rod.
Monday, May 15, 2006
Hi. My name is Bob.
- Code Examples in Javadocs
- Creative Cropping
- Balloon Popping @ Maker Faire '06
- Why do sites provide both RSS and Atom feeds?
- What do you do during your IntelliJ downtime?
- New Windows
- Flickr Performance
- Quake Clone in Your Browser
- Good Luck, Gilad