1.spring2.5完全支持java1.6
2.完全支持Java EE 5
3.spring2.5提供了完整的annotation集合:@Autowired,以及對(duì)JSR-250注解@Resource,@PostConstruct,@PreDestroy
4.在classpath中自動(dòng)搜索帶有annotation的組件。
5.spring2.5加入了對(duì)bean(...)pointcut元素的支持,在spring定義的bean命名中對(duì)指定的命名進(jìn)行匹配
6.在spring應(yīng)用中使用AspectJ加載時(shí)織入context:load-time-weaver
7.增加,通過context:load-time-weaver和tx:annotation-driven mode="aspectj"聯(lián)合使用的注解驅(qū)動(dòng)的事務(wù)管理
8.對(duì)JPA,升級(jí)到支持Open JPA1.0
9.2.5顯著的擴(kuò)充了SimpleJdbcTemplate的功能,引入了SimpleJdbcCall和SimpleJdbcInsert操作對(duì)象
10,web層,增加了基于注解的Controller
11.spring2.5引入了基于annotation的MVC編程模型,使用@RequestMapping、@RequestParam、@ModelAttribute等等
12.增加對(duì)tiles2的支持
13.引入了sping TestContext Framework,它提供了注解驅(qū)動(dòng)的單元和集成測試支持
Gavin