###
DOI:
计算机系统应用英文版:2014,23(1):62-67
本文二维码信息
码上扫一扫!
一种基于OSGi的Web应用模块化架构设计
(国网电力科学研究院 北京中电普华信息技术有限公司, 北京 100192)
Design of Modularized Architecture for Web Application Based on OSGi
(Beijing China Power Information Technology Co. Ltd, State Grid Electric Power Research Institute, Beijing 100192, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1501次   下载 2908
Received:June 19, 2013    Revised:July 11, 2013
中文摘要: 针对Web应用在模块化和动态性方面的不足, 结合当前Web应用的关键技术点Servlet、JSP、静态资源、请求处理等, 基于OSGi技术给出了Web应用的模块化架构, 包括Web应用与OSGi结合的技术路线, 引入OSGi之后应用结构和加载方式的改变, Web应用构件Servlet、Filter和Listener的模块化拆分与注册, 模块中JSP的注册、获取、编译, 模块中资源文件的注册与获取, 请求的分发与处理。使Web应用既能沿用已有的技术和框架, 又具备模块化和动态性。
中文关键词: OSGi  Web应用  模块化
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
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
刘丹,王宇飞,杨宁.一种基于OSGi的Web应用模块化架构设计.计算机系统应用,2014,23(1):62-67
LIU Dan,WANG Yu-Fei,YANG Ning.Design of Modularized Architecture for Web Application Based on OSGi.COMPUTER SYSTEMS APPLICATIONS,2014,23(1):62-67