首页> 中文期刊> 《计算机系统应用》 >一种基于OSGi的Web应用模块化架构设计

一种基于OSGi的Web应用模块化架构设计

     

摘要

针对Web应用在模块化和动态性方面的不足,结合当前Web应用的关键技术点Servlet、JSP、静态资源、请求处理等,基于OSGi技术给出了Web应用的模块化架构,包括Web应用与OSGi结合的技术路线,引入OSGi之后应用结构和加载方式的改变, Web应用构件Servlet、Filter和Listener的模块化拆分与注册,模块中JSP的注册、获取、编译,模块中资源文件的注册与获取,请求的分发与处理。使Web应用既能沿用已有的技术和框架,又具备模块化和动态性。%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.

著录项

  • 来源
    《计算机系统应用》 |2014年第1期|62-67|共6页
  • 作者

    刘丹; 王宇飞; 杨宁;

  • 作者单位

    国网电力科学研究院 北京中电普华信息技术有限公司;

    北京 100192;

    国网电力科学研究院 北京中电普华信息技术有限公司;

    北京 100192;

    国网电力科学研究院 北京中电普华信息技术有限公司;

    北京 100192;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类
  • 关键词

    OSGi; Web应用; 模块化;

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号