节点文献
基于拦截器实现EJB容器的服务扩展
Service Extension Of EJB Container Based On Interceptors
【Author】 Yang Hebiao, Ding Yong, Jin Jing (College of Computer Science & Communication, Jiangsu University, Zhenjiang Jiangsu 212013) (Library Jiangsu University, Zhenjiang Jiangsu 212013)
【机构】 江苏大学计算机科学与通信工程学院; 江苏大学图书馆;
【摘要】 针对EJB容器服务扩载机制中存在的可重配置能力低、可扩展性差等问题,提出应用拦截器技术实现EJB容器服务的动态扩展,扩展的原理主要通过“剪开”原有容器的服务链,在EJB容器中定义调用服务的扩展点,由拦截器动态拦截调用方法并注入容器服务来实现。为了使不同EJB组件扩展的服务集互相不干扰,保证服务扩展的一致性,给出了容器环境的精确定义。最后,通过一个无状态会话Bean 的池调度实例验证了应用拦截器技术实现容器服务扩展的可行性。
【Abstract】 According to the the deficiency of service extension mechanism of Enterprise JavaBean Container. interceptor is proposed to implement the dynamic extension of EJB container.the principium of extension is to cut the service chain and define the service spots, by which method invoker is intercepted and injected container services .At the same time,Container environment is defined to avoid interference of services set and keep the consistence of service extending.At last,an instance is introduced to validate the feasibility of extension mechanism using interceptor.
- 【会议录名称】 2005通信理论与技术新进展——第十届全国青年通信学术会议论文集
- 【会议名称】第十届全国青年通信学术会议
- 【会议时间】2005-08
- 【会议地点】中国四川绵阳
- 【分类号】TP393.08
- 【主办单位】中国通信学会