作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (20): 65-66. doi: 10.3969/j.issn.1000-3428.2006.20.024

• 软件技术与数据库 • 上一篇    下一篇

轻量级容器的设计与应用

施 伟,张忠能   

  1. (上海交通大学计算机科学与工程系,上海 200030)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

Design and Application of Lightweight Container

SHI Wei,ZHANG Zhongneng   

  1. (Dept. of Computer Science and Engineering, Shanghai Jiaotong University, Shanghai 200030)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 研究了IoC模式的工作原理,将该理论应用到轻量级容器的设计中,论述了轻量级容器的设计过程和关键实现步骤,指出了轻量级容器如何解决当今J2EE系统开发过程中存在的问题,给出了应用实例,验证了该设计的有效性。

关键词: 轻量级容器, 控制反转, 实例工厂

Abstract: According to the research of IoC pattern, this paper applies this pattern to the design of lightweight container. It describes the design of a lightweight container and the key steps in the process of implementing a lightweight container. It draws the picture of the use of lightweight container in the development of J2EE application. It gives the application, which show that the design is practical and efficient.

Key words: Lightweight container, Inverse of control, Bean factory