This content has been marked as final.
Show 3 replies
-
1. Re: application deadlocks
pranav Jul 2, 2003 2:39 AM (in response to vivek.chaudhri)Why are you making the getXXX() methods as read only...
Pranav -
2. Re: application deadlocks
vivek.chaudhri Jul 2, 2003 4:21 PM (in response to vivek.chaudhri)I am setting them as read-only because I do not want them to participate in the transaction, and because these methods do not modify data.
Thanks
Vivek -
3. Re: application deadlocks
adrian.brock Jul 3, 2003 3:13 AM (in response to vivek.chaudhri)Try a more recent version of jboss, there were
bugs in the original application deadlock detection.
Also a read-only method does lock the bean for the
duration of the invocation. If you have already taken
a write lock on the bean, if will still do a full lock.
Regards,
Adrian