[jboss-user] [EJB3] - Re: EJB3 Injection

André Simões do-not-reply at jboss.com
Fri Nov 25 12:23:35 EST 2011


André Simões [http://community.jboss.org/people/asimoes] created the discussion

"Re: EJB3 Injection"

To view the discussion, visit: http://community.jboss.org/message/638401#638401

--------------------------------------------------------------
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
[http://community.jboss.org/message/638401#638401]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111125/0d9a1b58/attachment.html 


More information about the jboss-user mailing list