首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

spring3_学习札记和总结_学习记录

2012-11-16 
spring3_学习笔记和总结_学习记录spring3_学习笔记和总结_学习记录最近又有机会用spring来做项目了,正好有

spring3_学习笔记和总结_学习记录

spring3_学习笔记和总结_学习记录

最近又有机会用spring来做项目了,正好有借口学习下spring3,决定把spring3的doc重新看一遍,查漏补缺,同时试着应用spring最新最好的特性,改进代码质量,提高开发速度。

?

import .xml files

当有bean跨越多个.xml文件定义时,ide有时候会无报错:找不到。比如idea这个ide就如此,eclipse的sts插件生成图bean关系图时也会有问题~利用这个特性可以解决~

?

Anotation config VS xml config

Note
Annotation injection is performed before XML injection, thus the latter configuration will
override the former for properties wired through both approaches.

我们可以利用这个特性,在某些时候做些改变,而不需要去重新编译打包~

?

?

?

3.10 Classpath scanning and managed components

?

?

?

?

?

热点排行