6

tss:关于 Geronimo的 GBeans 的介绍

 3 years ago
source link: https://blog.csdn.net/accesine960/article/details/1101161
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

tss:关于 Geronimo的 GBeans 的介绍

关于 Geronimo的 GBeans 的介绍

在Apache Geronimo的设计中最基本的类容器是:GBean,实际上,几乎Geronimo中的全部东西都是和GBean相关的. 在设计上Apache Geronimo的框架管理着GBean 类的生命周期..当你把相关类部署到容器中时,你想启动或者停止这些类,更进一步, GBeans 之间可以有相互依赖.
比如, 在BeanX运行前Bean Y 必须准备好,因为Bean X必须使用Bean Y提供的一些服务才能正常工作. 这些都是Geronimo需要提供的服务. Geronimo 核心的强大力量就是提供一个框架,程序员可以基于这个框架进行J2EE的开发工作.

把J2EE 相关资源通过GBean包装后,程序员就可以轻松实现J2EE标准规定的生命周期管理要求了. 架构上Geronimo 的核心是为GBean定义了一个 Inversion of Control (IoC) 框架.  IoC 框架提供一个可以自动管理组件之间相互依赖的环境.

  相关阅读:
             tss: geronimo's way of comforming of j2ee standards
             关于 Geronimo的 GBeans 的介绍

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK