This content has been marked as final.
Show 1 reply
-
1. Re: EJB3 Injection
asimoes Nov 25, 2011 12:23 PM (in response to asimoes)As usual, no reply...
In this case the solution seems to be quite easy.
For the ones that some day will gonna be stuck on something like this, just annotate your beans implementation with the annotation @Clustered
This will garantee that a external client accessing to a remote interface of a bean, in a cluster, with got load balancing and failure detection.
In other words, if your client has a url connection for 192.168.0.1 and ip nodes are 192.168.0.1, 192.168.0.2. Even if node 192.168.0.1 shutdown, the client do not even notice!!!
I do not know if this is the best implementation, but no one talks about this...