jab*_*sad 5 java spring
Spring的IoC框架非常漂亮.用XML编写配置对象不是.
在Spring中加载复杂对象并将它们注入到bean中是否还有其他选择?属性文件太简单(它们只包含键值对).我对构建列表,地图等很感兴趣.我正在思考一些JSON对象.
Chr*_*ams 2
从3.0版本开始,并在3.1中进一步增强,Spring现在已经完全支持基于Java的配置。
http://static.springsource.org/spring/docs/current/spring-framework-reference/htmlsingle/#beans-java
http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html
归档时间:
14 年 前
查看次数:
1175 次
最近记录: