首页 | 官方网站   微博 | 高级检索  
     

IOC框架的研究与设计
引用本文:魏学松,张育平.IOC框架的研究与设计[J].微机发展,2006,16(3):213-216.
作者姓名:魏学松  张育平
作者单位:南京航空航天大学信息科学与技术学院 江苏南京210016
摘    要:在J2EE开发中,程序员经常需要面对如何将程序元素组装成类聚的应用程序,如何有效地管理组件和组件间的相互调用装载,成为应用程序开发的重要任务,IOC(Inversion of Control,控制反转)框架的发展,满足了这个方面的需求。文中讨论了IOC模式的基本概论I、OC问题的产生,比较了IOC模式与工厂模式的区别以及IOC的发展意义,重点给出了IOC框架设计的两种设计方案:动态IOC和静态IOC的实现,最后比较了两种方案的优缺点。

关 键 词:控制反转  依赖注入  框架  AOP
文章编号:1005-3751(2006)03-0213-04
修稿时间:2005年6月19日

Research and Realization of IOC Framework
WEI Xue-song,ZHANG Yu-ping.Research and Realization of IOC Framework[J].Microcomputer Development,2006,16(3):213-216.
Authors:WEI Xue-song  ZHANG Yu-ping
Abstract:In applications of J2EE,the developer often encounters a problem how to assemble an application with associated program element and how to manage effectively component and call component each other.It is important task in program development.IOC(Inversion of Control)framework adapts to this request.This paper introduces IOC pattern's basic conception and its origin,and discusses the difference between the IOC pattern and factory pattern,also provides tow detailed designs of IOC framework: dynamic IOC and static IOC realization.Finally compare the two design's merit and flaw.
Keywords:IOC  DI  framework  AOP  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号