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

一种基于OSGi的Web应用模块化架构设计
引用本文:刘丹,王宇飞,杨宁.一种基于OSGi的Web应用模块化架构设计[J].计算机系统应用,2014,23(1):62-67.
作者姓名:刘丹  王宇飞  杨宁
作者单位:国网电力科学研究院 北京中电普华信息技术有限公司, 北京 100192;国网电力科学研究院 北京中电普华信息技术有限公司, 北京 100192;国网电力科学研究院 北京中电普华信息技术有限公司, 北京 100192
摘    要:针对Web应用在模块化和动态性方面的不足, 结合当前Web应用的关键技术点Servlet、JSP、静态资源、请求处理等, 基于OSGi技术给出了Web应用的模块化架构, 包括Web应用与OSGi结合的技术路线, 引入OSGi之后应用结构和加载方式的改变, Web应用构件Servlet、Filter和Listener的模块化拆分与注册, 模块中JSP的注册、获取、编译, 模块中资源文件的注册与获取, 请求的分发与处理。使Web应用既能沿用已有的技术和框架, 又具备模块化和动态性。

关 键 词:OSGi  Web应用  模块化
收稿时间:2013/6/19 0:00:00
修稿时间:2013/7/11 0:00:00

Design of Modularized Architecture for Web Application Based on OSGi
LIU Dan,WANG Yu-Fei and YANG Ning.Design of Modularized Architecture for Web Application Based on OSGi[J].Computer Systems& Applications,2014,23(1):62-67.
Authors:LIU Dan  WANG Yu-Fei and YANG Ning
Affiliation:Beijing China Power Information Technology Co. Ltd, State Grid Electric Power Research Institute, Beijing 100192, China;Beijing China Power Information Technology Co. Ltd, State Grid Electric Power Research Institute, Beijing 100192, China;Beijing China Power Information Technology Co. Ltd, State Grid Electric Power Research Institute, Beijing 100192, China
Abstract:To deal with the deficiency of modularization and dynamics, this paper proposes an architecture for web application based on OSGi, combined with the popular technologies of web application, such as servlets, JSPs, static documents and request handling, including the technique of integrating web application with OSGi, the change of structure and loading of application. Then it illustrates how to modularize and register web application components including servlets, filters and listeners, how to register, find and compile JSPs, how to register and find static documents. Finally, it discusses the process of dispatching and handling requests. With the architecture, besides continuing to use the existing technologies and frameworks, web application can also have the characteristics of modularization and dynamics.
Keywords:OSGi  Web application  modularize
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号