期刊文献+

基于Spring框架的研究与设计 被引量:10

Research and Design Based on Spring Framework
下载PDF
导出
摘要 该文对轻量级Web开发框架Spring进行了研究,对Spring的核心机制之一的IOC(Inversion of Control)进行了剖析。首先从思想上的层面探讨了Spring框架的核心思想IOC,接着从底层代码上分析了Spring IOC的具体实现原理,包括Java工厂模式和Java反射机制在Spring IOC中是如何体现的。最后将Spring框架应用于临沂木业员工管理系统中,同时临沂木业员工管理系统集成Hibernate框架和Struts框架分别作为系统的持久层和表示层。通过采用Spring框架中的IOC,临沂木业员工管理系统中的底层的辅助代码和管理员模块、员工的增删改查模块、部门模块等业务逻辑代码实现了很好的分离。正因为代码的很好分离,使得系统在维护、修改、扩展和移植上有了很大的改善。 In this paper, the lightweight Web development framework Spring is studied, and the IOC(Inversion of Control),one of the core mechanisms of Spring, is analyzed. First of all, this paper discusses the core idea of Spring framework from the ideological level, and then analyzes the specific implementation principles of Spring IOC from the underlying code, including how the Java factory model and the Java reflection mechanism are embodied in Spring IOC IOC. Finally, the Spring framework applied to Linyi wood staff management system, at the same time, Linyi wood staff management system integrated with Hibernate framework and the Struts framework as the system persistence layer Through the use of AOP in the Spring framework, Linyi wood staff management system in the bottom of the auxiliary code and administrator module, staff additions and deletions to check module, Department module and other business logic code to achieve a good separation. Because of the good separation of code, the system has been greatly improved in maintenance, modification, extension and transplantation.
作者 黄俊勇
机构地区 武汉纺织大学
出处 《电脑知识与技术》 2018年第1X期116-117,120,共3页 Computer Knowledge and Technology
关键词 WEB SPRING IOC Web Spring IOC
  • 相关文献

参考文献1

二级参考文献7

  • 1徐长盛,戴超,谢立.一种快速开发Web应用程序方法的研究[J].计算机工程与设计,2004,25(12):2237-2239. 被引量:19
  • 2夏昕.Spring开发指南[EB/OL].http://www.matrix.org.cn/resource/down/579.html,2004.
  • 3MUKHAR K,LAUINGER T.Java数据库应用程序编程指南[M].北京:电子工业出版社,2002.448-520.
  • 4COOK T.JSP从入门到精通[M].北京:电子工业出版社,2003.437-469.
  • 5吴高峰.基于Struts+Spring+iBATIS的轻量级J2EE开发[EB/OL].http://www-128.ibm.com/developerworks/cn/java/j-s-s-i/,2005.
  • 6Apache Software Foundation.iBATIS SqlMaps Developer Guide[EB/OL].http://prdownloads.sourceforge.net/ibatisdb/,2005.
  • 7夏昕..IBATIS2.0开发指南[EB/OL]..http://www.matrix.org.cn/resource/down/581.html,,2004..

共引文献39

同被引文献79

引证文献10

二级引证文献18

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部