[jboss-user] [JBoss Seam] - @Asynchronous

toni do-not-reply at jboss.com
Sun May 6 07:33:54 EDT 2007


Hi,

I'm using @Asynchronous on a SFSB and I get the expected behaviour. The current thread is not being blocked until the method completes.

However, if I use a non HTTP client and a context lookup, then the active thread is actually being blocked, until the method finishes.

So if use something like:


  |     sfsb = (MySFSB) initialContext.lookup("/myApp/MySFSB/remote");
  |     sfsb.asychronousCall();
  | 

then the call blocks the current thread.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043513#4043513

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043513



More information about the jboss-user mailing list