nav emailalert searchbtn searchbox tablepage yinyongbenwen piczone journalimg journalInfo searchdiv qikanlogo popupnotification paper paperNew
2016, 12, v.26;No.236 190-194
SSM框架在Web应用开发中的设计与实现
基金项目(Foundation): 国家自然科学基金资助项目(61271234)
邮箱(Email):
DOI:
20,126 546 256
下载次数 被引频次 阅读次数
摘要:

在Web应用的开发过程中,开发框架的选择非常重要。一个好的开发框架能够加速Web应用的开发速度,降低开发成本,减少开发人员的工作量,同时能够使Web应用具有良好的扩展性和移植性。基于SpringMVC+Spring+Mybatis(SSM)的框架凭借良好的性能和较快的开发效率,逐渐成为主流的Web应用开发框架组合。SpringMVC是一个基于MVC的框架,其主要负责表现层的功能,比如响应请求。Spring框架主要起到容器的功能,整合了SpringMVC和Mybatis,实现层与层之间的解耦,同时使业务逻辑更加清晰。Mybatis框架主要负责的是数据持久层,完成和数据库的相关操作。重点以权限管理模块为例,说明了SSM框架在开发后台管理系统中的应用,为开发后台管理系统提供了理论指导。

Abstract:

In the process of Web application development,the choice of development framework is essential.A good development framework can accelerate the development of Web application,reduce development costs,ease the burden of developer and make the Web application has good expansibility and portability.Framework based on SpringMVC,Springand Mybatis with better performance and faster development productivity has gradually become the preferred combination of Web application development framework. SpringMVC is a MVC framework,which is in charge of the function of presentation layer like responding to the request.Springframework plays the part of container,which integrates Mybatis and SpringMVC,and implements the decoupling between layers. Meanwhile,it can make business logic becomes more clear.Mybatis framework is mainly responsible for data persistence layer and complete the operation of database.Taking the rights management module as an example,in order to explain the application of SSMframework in the development of back-stage management system,it provides theoretical guidance for the development of back-stage management system.

参考文献

[1]冯博,朱穗晖.程序设计教程[M].北京:清华大学出版社,2005.

[2]Amstrong E,Ball S,Bodoff S,et al.The J2EE 1.4 tutorial[M].[s.l.]:Sun Micro Systems Inc.,2005:2-25.

[3]邬继成.Struts与Hibernate实用教程[M].北京:电子工业出版社,2006.

[4]Andrew H.Object-oriented analysis and design[M].Beijing:China Machine Press,2003:17-56.

[5]Linaje M,Preciado J,Sanchez F F.Engineering rich internet application user interfaces over web-models[J].IEEE Internet Computing,2007,11(6):53-59.

[6]李刚.轻量级Java EE企业应用实战[M].第4版.北京:电子工业出版社,2015.

[7]黎永良,崔杜武.MVC设计模式的改进与应用[J].计算机工程,2005,31(9):96-97.

[8]魏学松,张育平.IOC框架的研究与设计[J].计算机技术与发展,2006,16(3):213-216.

[9]Elrad T,Aksit M,Kiczales G,et al.Discussing aspects of AOP[J].Communications of the ACM,2001,44(10):33-38.

[10]张宇,王映辉,张翔南.基于Spring的MVC框架设计与实现[J].计算机工程,2010,36(4):59-62.

[11]刘中兵.开发者突击:Java Web主流框架整合开发:J2EE+Struts+Hibernate+Spring[M].北京:电子工业出版社,2008.

[12]贾昆,甘仞初,高慧颖.数据访问对象模式在企业应用集成中的应用[J].计算机工程与设计,2006,27(3):373-375.

[13]王坤.基于J2EE平台Spring MVC框架开发的MIS系统设计与实现[D].上海:华东师范大学,2008.

基本信息:

DOI:

中图分类号:TP311.52;TP393.09

引用信息:

[1]李洋.SSM框架在Web应用开发中的设计与实现[J].计算机技术与发展,2016,26(12):190-194.

基金信息:

国家自然科学基金资助项目(61271234)

检 索 高级检索

引用

GB/T 7714-2015 格式引文
MLA格式引文
APA格式引文