Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-05-06


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.