摘 要: Spring MVC以其松散耦合的特性在业内被广泛使用,JDBCTemplate对数据库的操作在JDBC层面做了深 层次的封装,简化了项目中繁琐的JDBC操作。Spring MVC与JDBCTemplate的有机结合,优化了软件开发的过程。在 分析Spring MVC与JDBCTemplate的技术要点、工作原理的基础上,通过实例,展示了Spring MVC+JDBCTemplate 的整合应用给项目带来的便利。 |
关键词: SpringMVC;JDBCTemplate;封装;整合 |
中图分类号: TP311.5
文献标识码: A
|
|
Research and Application of the Web System Based on Spring MVC+JDBCTemplate |
ZHAO Lin,WANG Hongxia1,2
|
1.( 1.Dalian Neusoft University of Information, Department of Software Engineering, Dalian 116023, China;2.
2.Dalian Municipal Public Security Bureau Network Security Detachment, Dalian 116011, China )
|
Abstract: Spring MVC is widely used in the industry because of its loose coupling characteristics.JDBCTemplate makes the database operations to be encapsulated at the JDBC level and simplifies the tedious JDBC operation in projects. It optimizes the software development process to integrate Spring MVC and JDBCT Template.Based on the analysis of the technical points and working principles of Spring MVC and JDBCTemplate,the study implements some experiments to present the convenience brought by the integration of Spring MVC and JDBCTemplate to the project. |
Keywords: Spring MVC;JDBCTemplate;encapsulation;integration |