首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Web应用中并发控制的实现
引用本文:程兴国.Web应用中并发控制的实现[J].中国水运,2007,7(8):150-152.
作者姓名:程兴国
作者单位:华南理工大学计算机科学与工程学院
摘    要:Web应用已由原来的网站、电子商务发展成商业应用系统的一种架构-B/S架构,它已成为一个世界性的研究热点。但由于Internet网络协议固有的局限性以及Web应用中频繁的用户交互增加了在Internet上实现长事务的困难,从而,Web应用中的并发控制始终没能得到很好的解决。本文从Hibernate的乐观锁和悲观锁的实现原理出发,给出了实现悲观锁的基本思路和实现时的注意事项,在其它架构中得以推广和应用。

关 键 词:并发控制  Web应用  悲观锁  乐观锁
文章编号:1006-7973(2007)08-0150-03
修稿时间:2007年4月30日

Concurrency realization in web application
Cheng Xingguo.Concurrency realization in web application[J].China Water Transport,2007,7(8):150-152.
Authors:Cheng Xingguo
Institution:Cheng Xingguo
Abstract:Web application developed into an architecture-B/S architecture from web sites, e-commerce, and has become a worldwide research hot spot. The basic difficulties in the implementation of long transaction processing because of frequent and long-time interaction as occurred in most Web applications and some inherent constraints from the Internet's networking protocols. As a result, concurrency in web application still fails to be resolved perfectly. In this paper, we provide the basic solution of Pessimistic Locking and implementation constrains based on the Pessimistic Locking and Optimistic Locking in Hibernate framework.
Keywords:concurrency  web application  Optimistic Locking  Pessimistic Locking  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号