摘要
本文简要介绍Spring的事务实现技术,讨论了Spring中的事务的两种实现方式。通过同一个案例阐述了在Spring中通过xml配置来实现事务和使用了Annotation实现事务,比较了两种实现方式的优缺点。
The paper introduces the transaction technology in Spring, and discusses two transaction realization patterns. By an example to realize tnmsaction with xml configuration and Annotation in Spring, their advantages and disadvantages have been a subject of discussion.
出处
《电脑学习》
2009年第3期119-120,共2页
Computer Study