• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (8): 181-184.

• 论文 • 上一篇    下一篇

Struts与Web Service集成模式研究与应用

王传立1,李金才2,吴移桃3   

  1. (1.中南林业科技大学计算机与信息工程学院,湖南 长沙 410004;
    2.国防科学技术大学计算机学院,湖南 长沙 410073;3.69316部队,新疆 泽普 844800)
  • 收稿日期:2010-05-20 修回日期:2010-10-26 出版日期:2011-08-25 发布日期:2011-08-25
  • 作者简介:王传立(1979),男,河南夏邑人,硕士,讲师,研究方向为算法与软件体系结构。李金才(1978),男,河南鹿邑人,博士生,助理研究员,研究方向为大规模科学与工程计算。
  • 基金资助:

    湖南省科技计划项目(2010GK3004);湖南省教育科学“十一五”规划青年专项基金项目(XJK06QXJ018);2008年湖南省教改项目

Study and Application of the Integration of Struts and Web Services

WANG Chuanli1,LI Jincai2,WU Yitao3   

  1. (1.School of Computer Science and Information Technology,
    Central South University of Forestry and Technology,Changsha 410004;
    2.School of Computer Science,National University of Defense Technology,Changsha 410073;
    3.Corps 69316,Zepu 844800,China)
  • Received:2010-05-20 Revised:2010-10-26 Online:2011-08-25 Published:2011-08-25

摘要:

本文在分析传统Struts框架和Web Service集成模式存在的不足的基础上,提出了一种新的Struts和Web Service集成模式。在新的集成模式中,通过服务总线避免了原来的序列化问题,降低了客户端程序的复杂性,提高了系统的灵活性和可扩展性。最后用该模式设计和实现了基于Web的自适应考试系统。系统开发表明:该集成模式简化和规范了Web应用系统的开发和部署,可以快速高效地开发出企业级Web应用程序,并且程序的修改、重构、重新部署的工作量大大降低。

关键词: Struts框架, MVC, Web Service, ESB

Abstract:

The shortcomings of the traditional pattern of integration is analyzed at first in the paper,then a new integrated pattern of struts and web services is proposed. In the new integrated pattern it can avoid serialization, reduce the complexity of the client program,increase the flexibility and extensibility of the system.Finally a computerized adaptive testing system is designed and realized by using the new pattern. Practice shows that the new pattern can simplify and standardize the development of the web application system,and develop the enterprise web application system quickly. The workload of changing program ,reconstruction,redeploy is greatly reduced by using the new model.

Key words: Struts framwork;MVC;web service;ESB