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".

Reply via email to