Hi dim, the jboss version i'm using is 3.0.0. I don't think the QueuedPessimisticLock is deprecated, its the default value for the locking policy. InstancePerBean , I assume serialises all requests to a bean.. in that case the issue of locking may not arise, but doesn't it slow down the application very much??
I also tries the jboss-user list.:-( Regards, Sumesh. Dmitri Colebatch wrote: > I think its InstancePerBean configuration or something. > > also, the QueuedPessimisticLock is deprecated I think - what version of > JBoss ar eyou using? I'd try the jboss-user list as well. > > hth > dim > > ----- Original Message ----- > From: "sumesh" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 03, 2002 4:14 PM > Subject: Optimistic Concurrency in JBoss > > > Hi folks, > > > > I had posted this question on the JBoss forums but didn't get any > > satisfactory reply and so i am posting it here anticipating a wider > > audience. > > > > I would like to know if anybody has implemented optimistic > > concurrency in JBoss? I have an application built on EJB 2.0 CMP model > > and my database is Oracle. > > This application currently makes use of the pessimistic approach, which > > i am trying to change it to employ the other option - optimistic > > concurrency . > > What I understand is that in the case of CMP, the EJB container has to > > provide explicit support for > > the optimistic locking approach. > > We follow the declarative approach in this case by specifying the class > > (org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock) in > > standardjboss.xml . > > What I would like to know is that > > 1) does JBoss support optimistic concurrency? > > 2) If yes, what is the class name that I have to give. > > > > Thanks in advance, > > Sumesh > > > > =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
