0 Replies Latest reply on Oct 9, 2006 1:43 AM by rakesh setty

    Caching stateless EJB remote interface for better load-balan

    rakesh setty Newbie

      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