![]() |
|
||
TMBean: Optimistic Concurrency in Application Servers Using Transactional MemoryLucas Charles, Pascal Felber, and Christophe Gête Computer Science Department, University of Neuchâtel,Rue Emile-Argand 11, CH2009 Neuchâtel, SwitzerlandAbstract. In this experience report, we present an evaluation of different techniques to manage concurrency in the context of application servers. Traditionally, using entity beans is considered as the only way to synchronize concurrent access to data in Jave EE and using mechanism such as synchronized blocks within EJBs is strongly not recommended. In our evaluation we consider the use of software transactional memory to enable concurrent accesses to shared data across different session beans. We are also comparing our approach with using (1) entity beans and (2) session beans synchronized by a global lock. Keywords: Application Server, Java EE, EJB, Software Transactional Memory LNCS 5870, p. 484 ff. lncs@springer.com
|