raj sirohi wrote:Hi,
I confused about the interface needed for ejb 3.0 for clustering. my question is if I have three seperate application servers on three different machines ( each running ejb container and web containre in same jvm) then can i just use local interface for ejb for clustering.
any thought please!
thanks
Raj
If you use
local interface, you can benefit from clustering for incoming HTTP request from the client. However, your calls to EJB will be limited to same node on which you received the request from the client.
If you use
remote interface, even you EJB calls will be distributed across the cluster.