JBoss Community

Re: Calls against multiple servers from a single client

created by Tarek Hammoud in JBoss AS 7 Development - View the full discussion

Hi Wolf,

 

The sync call (Labeld Evil) is used in the example above of what a multithreaded client will have to do and avoid the selector trashing and function properly albeit serially. It is not used for to demonstrate "best practices". Out multi-server test cases broke immediately in AS7 thus the hack to show the extent of this problem. I believe that the EJBClientContext with a static selector inhibits proper implementation of a multithreaded client in AS7.

 

Tarek

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community