JBoss Community

Re: EJB3 Injection

created by André Simões in EJB3 - View the full discussion

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...

Reply to this message by going to Community

Start a new discussion in EJB3 at Community