0 Replies Latest reply on Dec 20, 2003 11:46 PM by hitaco

    load-balance when application are deployed as ear

    hitaco Newbie

       

      "hitaco" wrote:
      "hitaco" wrote:
      "hitaco" wrote:
      "hitaco" wrote:
      I setup 3 instance JBoss3.2.3 cluster environment on my local machine for testing purpose.

      I wrote an test application comprising a helloworld stateless session bean, which is responsible for printing "hello world" to the console, and a test jsp invoking that session bean. I packaged the jsp and session bean in the same ear file and deploy it to 3 nodes in my clustering.

      My question is, whether the jsp call to the session bean will be load-balanced to other nodes in the cluster, instead of always invoke local one?

      It seems that the jsp will always dispatch the request to the local ejb component and Jboss might optimize this call to in-VM call, although remote interface is used.


      Thanks