计算机与现代化 ›› 2010, Vol. 1 ›› Issue (6): 183-0186.doi: 10.3969/j.issn.1006-2475.2010.06.052

• 应用与开发 • 上一篇    下一篇

基于SSi2框架处理LOB数据的方法研究

孙 立,李昕   

  1. 辽宁工业大学计算机应用与技术学院,辽宁 锦州 121001
  • 收稿日期:2009-10-21 修回日期:1900-01-01 出版日期:2010-07-01 发布日期:2010-07-01

Research on Processing LOB Data Based on SSi2 Frameworks

SUN Li, LI Xin   

  1. College of Computer Application and Technology, Liaoning University of Technology, Jinzhou 121001, China
  • Received:2009-10-21 Revised:1900-01-01 Online:2010-07-01 Published:2010-07-01

摘要: 在中小企业的Web应用中,经常需要上传、下载各种类型的LOB数据。而且,随着业务的增多,建立一个可重用和易维护的系统非常重要。表现层Struts2、业务逻辑层Spring和持久化层iBatis(SSi2)是Web应用系统开发中常用的免费轻量级框架,在简要分析3种框架的基础上,整合SSi2框架来处理某Web系统中的LOB数据,并阐述整合过程中的关键点、分层设计优势和代码间的低耦合性。整合后,系统的可维护性和可扩展性都大大增强。

关键词: Struts2, Spring, iBatis, LOB, 轻量级, 整合

Abstract: In the Web development of small and medium-scale enterprises, upload or download of many types of LOB data are often needed. Moreover, with the increase in business, it’s very important to establish a reusable system and easier to maintain it. Presentation layer uses Struts2, business logic layer uses Spring and endurance layer uses iBatis(SSi2), they are free lightweight frameworks and often used in Web development. After analysis of the three frameworks, the three frameworks are integrated to process LOB datas in the Web system, several key points, the advantages of hierarchical design, low coupling between the codes are elaborated through the integrate. After integrating, the maintainability and expansibility of the system are greatly strengthened.

Key words: Struts2, Spring, iBatis, LOB, lightweight, integrate

中图分类号: