[JBoss-user] [EJB/JBoss] - Re: Synchronization of Stateful Session Bean
"[EMAIL PROTECTED]" wrote : Change the stateful session interceptor to synchronize calls instead of throwing an exception or add a client interceptor that does the synchronization on the client side. How do you do that? --Erez View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844159#3844159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844159 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Synchronization of Stateful Session Bean
Hi, I think I found my error. It seems to work! Many thanks for the support. Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839508#3839508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839508 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Synchronization of Stateful Session Bean
Thanks for the immediate response! My situation unfortunately doesn't provide the second possibility, because the clients are connected via CORBA (SFSB are TIE servants) so there will be no client interceptor stack, isn't it?. I really would have liked to implement the client interceptor, because I really like this concept. A problem I see with the stateful interceptor is the possibility of deadlock. I had a short experimental hack at the QueuedPessimisticEJBLock (inserting the EntityLockInterceptor in the container interceptor stack) which provides deadlock protection. Do you think it's worth while investing in the idea? At the moment I don't see far enough to be able to decide if I ever get to the bottom of the Tx-oriented locking. I had to remove some consistency checks (eg. regarding the change of transactional context), and so I am afraid that I entered into programmatic states that the code was not intended to cope with. I am at the moment stuck with a continuous sequence of "Start wait on TxLock" / "End wait on TxLock" of the two racing threads till the Tx expires - and both get an Exception. Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839351#3839351 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839351 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Synchronization of Stateful Session Bean
Change the stateful session interceptor to synchronize calls instead of throwing an exception or add a client interceptor that does the synchronization on the client side. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839347#3839347 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839347 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user