Oka.
sorry I left the cvs dangling there for a while. I just started touching
stuff and then said "will do the abstract lock base" and got sidetracked.
It is back to normal now.
Ok the locking policy as promised is now pluggable and I provide a
"simplePessimisticEJBLock" meaning that it does the usual Tx lock and EJB
serialized lock and I implement it with the simplest of all policies
"notifyAll" galore. This particular one will probably struggle under very
very heavy load but it won't freeze (ever). We are still playing with
N-Lock policies that would really fly under load but that is for another
day.
jboss.xml is changed and we add a
<locking-policy>org.jboss.ejb.plugins.lock.SimplePessimisticEJBLock</locking
-policy>
in standardjboss-xml.
Also don't worry for backward compatibility purposes I hardcoded the default
in confmetadata so that if you use old jboss.xml it should still work (did
for me).
enjoy,
marcf
_________________
Marc Fleury, Ph.D
[EMAIL PROTECTED]
_________________
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development