ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  JBoss Optimizations 101
Subject:   Are ALL polled instanced locked?
Date:   2003-05-30 16:47:21
From:   anonymous2
In the "Heavy Locking" section you mentioned that "By Default, JBoss uses pessimistic locking. An entity bean that is enrolled in a transaciton cannot be used by another transaction until the one that uses the bean has commited or rolled back".


Since entity bean instances are pooled, are all instances locked, or just the one from the pool that the particular transaction is utilizing?


1 to 1 of 1
1 to 1 of 1