hi all,

        problem:

        I've got rather long transactions (they begin in a session bean) whithin
which I access other session beans and eventually CMP entity beans(mostly
getter methods). I'm getting a lot of deadlock. I'm implementing the
isModified() method in hopes that it will alleviate some of this problem by
cutting down on calls to the ejbStore method.

        questions:

        1. I'm assuming that if the ejbStore method does not get called then the
ejbLoad method will not get called either and the cached values will be
used. is this right?

        2. I'm already using tuned updates but the isModified() method should
improve things further, right? or at least overide the tuned updates
behavior.

        3. is there anything else I can do to avoid deadlock? I've been thinking of
implementing a stateless session bean facade to the entity beans. Will that
help me to avoid deadlock?

        4. will specifying NOT_SUPPORTED in the entity getter methods do anything?
I've been under the impression that a trasaction is always started for
entity beans.

thanks
-dom


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to