[jboss-user] [Clustering/JBoss] - Caching stateless EJB remote interface for better load-balan

robocop do-not-reply at jboss.com
Mon Oct 9 01:43:36 EDT 2006

Hi all,

JBoss-Cluster FAQ page recommends caching remote interface of stateless EJB for better load-balancing. I'm seeing creating of remote interface for each EJB call seems to load single server without distributing the load to all nodes of a cluster.

Couple of questions on caching remote interface.
1) Is it good practise to cache remote interface? Looks like its not violation of EJB spec as spec says there is no couple of remote interface to actual EJB instance in the server.

2) Does cache'd remote interface become stale? Also any information of how this caching of remote interface helps better load-balancing would be very helpful.

Thanks in advance for any help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976877#3976877

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976877

More information about the jboss-user mailing list