P.S. I consider this an anti-pattern.

It is better practice for the session bean to initiate the request, 
but to actually receive the reply in the client.

That way you are not blocking threads in the server waiting for asynchronous
responses.

It also doesn't work in a transaction. 
The send/publish really happens at the transaction commit
so the receive would always fail.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to