计算机与现代化 ›› 2012, Vol. 208 ›› Issue (12): 204-206.doi: 10.3969/j.issn.1006-2475.2012.12.052

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

Spring框架事务处理技术研究

孟琼   

  1. 江西省计算技术研究所,江西南昌330002
  • 收稿日期:2012-10-11 修回日期:1900-01-01 出版日期:2012-12-22 发布日期:2012-12-22

Research on Spring Framework Transactional Processing Technology

MENG Qiong   

  1. Jiangxi Institute of Computing Technology, Nanchang 330002, China
  • Received:2012-10-11 Revised:1900-01-01 Online:2012-12-22 Published:2012-12-22

摘要: Spring是JEE开发的重要应用程序框架。本文介绍Spring事务处理的工作原理,描述如何使用Spring的事务处理功能实现企业应用程序的事务处理,介绍XML配置文件的关键配置部分,讨论Spring的事务回滚和事务传播功能。

关键词: Spring, JEE, 事务处理, 事务回滚

Abstract: Spring is an important application framework on development of JEE. This paper introduces the working principle of Spring transactional processing, describes how to use the transactional processing features of Spring to implement transactional processing in enterprise applications. The paper introduces the key parts of the XML configuration files, discusses the transactional rollback and transactional propagation in Spring at last.

Key words: Spring, JEE, transactional process, transactional rollback

中图分类号: