New features and enhancements in Spring 1.1 RC1 include:
- IoC container supports Method Injection: the overriding of concrete or abstract methods, typically to look up a dependency managed by the container. This means even less need to implement Spring-specific interfaces such as BeanFactoryAware.
- The IoC container can now obtain objects from static factory methods as well as constructors. This enhancement allows excellent AspectJ integration: it is now possible to configure AspectJ aspects using Spring Dependency Injection, like any object. We plan to provide examples of AspectJ integration before 1.1 final.
- Support for sending and receiving JMS messages
- Support for Apache OJB as an ORM alternative, within Spring's consistent data access abstraction
- Significantly improved JDO support
- Greater flexibility in translating SQLExceptions, and other JDBC enhancements
- Support for nested transactions and savepoints when working with JDBC. Declarative transaction management can support nested transactions.
- AOP proxies are now serializable if all Advisors and target are serializable
- Improved Velocity and FreeMarker support
- Reworked parent/child bean definition concept: a child can now override any inherited settings. This can be used to simplify configuration.
Spring框架新特性及功能增强
本文介绍了Spring框架的多项新特性和功能增强。包括IoC容器支持方法注入、可从静态工厂方法获取对象,支持JMS消息收发、Apache OJB作为ORM替代方案,改进JDO支持、SQL异常处理,支持嵌套事务和保存点,AOP代理可序列化,增强Velocity和FreeMarker支持,优化父子Bean定义概念。
2554

被折叠的 条评论
为什么被折叠?



