Chapter 8 Creating J2EE Applications for BEA WebLogic


Locking Services for Entity EJBs

The WebLogic Server container supports both the database locking and exclusive locking mechanisms. The default and recommended mechanism for EJB 1.1 and EJB 2.0 is database locking.

Database locking improves concurrent access for entity EJBs, the WebLogic Server container does this by deferring locking services to the underlying database. Unlike exclusive locking, the underlying data store can in most cases provide finer granularity for locking EJB data as well as deadlock detection.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.