免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 928 | 回复: 0
打印 上一主题 下一主题

Summary in Reading of Spring in Aciton(1) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-29 23:28 |只看该作者 |倒序浏览


Digest, thinking and summary in Reading of Spring in Action
The most famous enterprise application framework--Spring in Java world maybe can divided into three parts.
The core, the middle-tier and web layer. With this point, that Spring in Action is writing in three parts.
One, Spring essentials. Two, Spring in business layer. Three, Spring in the Web Layer.
Here I also want to descripte my feeling about the reading of Spring in Action in three parts.
The core feathes of Spring are Inversion of Control(IoC) and aspect-oriented programming(AOP).
1.It all start with a bean. 2. See how Inject Dependency use in Spring with the XML configuration file and JavaBean setter/getter to program.
notes: Because Spring in Action use Spring1.1.3.jar file which has a number of differents between the lasted 1.2.3 version of Spring. Here is the different is found in List 1.4:
BeanFactory factory = new XmlBeanFactory(new FileInputStream("hello.xml")); -->BeanFactory factory = new XmlBeanFactory(new InputStreamResouce(new FileInputStream("hello.xml")));
And you must include the jakarta-commons/commons-logging.jar if you want to run the example besides spring.jar.
to be continued ...


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/8755/showart_38336.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP