Vinay,
I'm
pretty sure the EJB spec says that an instance of an EntityBean can only process
one request at a time. I think this is what the Context lock is
for.
When
you say that your bean is readonly, you mean that you defined it in JAWS as
readonly? I'm pretty sure the code does NOT check to see if the EntityBean
is JAWS and therefore doesn't check to see if it is
readonly.
IMHO,
there should be an option to remove EntityBean locking and let the Database
handle the synchronization either through the select-for-update option, or doing
the locks in BMP.
Bill
|
- [JBoss-dev] Caching - Locking - Server Dies! K.V. Vinay Menon
- RE: [JBoss-dev] Caching - Locking - Server Dies! Bill Burke
- Re: [JBoss-dev] Caching - Locking - Server Dies! K.V. Vinay Menon
- Re: [JBoss-dev] Caching - Locking - Server D... Bill Burke
- Re: [JBoss-dev] Caching - Locking - Serv... danch
- Re: [JBoss-dev] Caching - Locking -... James Cook
- RE: [JBoss-dev] Caching - Locking -... Bill Burke
- RE: [JBoss-dev] Caching - Locking - Serv... Dan OConnor
- Re: [JBoss-dev] Caching - Locking -... K.V. Vinay Menon
- Re: [JBoss-dev] Caching - Locking - Server D... Georg Rehfeld
- Re: [JBoss-dev] Caching - Locking - Serv... K.V. Vinay Menon
- RE: [JBoss-dev] Caching - Locking - Serv... marc fleury
- Re: [JBoss-dev] Caching - Locking - Server Dies! Georg Rehfeld
- RE: [JBoss-dev] Caching - Locking - Server Dies! marc fleury