Discussions

Performance and scalability: Working with Stateless session bean cluster

  1. Hi all,I am new member of this forum.I need to cluster my stateless session bean but i need the server affinity to be maintained.But as such stateless session bean doen't support this so wat can be done.One option to my knowledge is convert into stateful session bean but it creates performace hit.Please suggest me better possible ways.....
  2. It's not easy.
  3. what benefit you will get by creating a cluster of SLSB?
  4. I need to cluster my stateless session bean but i need the server affinity to be maintained.

    Why do you need server affinity to be maintained? The EJB is stateless, and thus is must not matter if affinity is or is not maintained.

    But as such stateless session bean doen't support this so wat can be done.One option to my knowledge is convert into stateful session bean but it creates performace hit.Please suggest me better possible ways.....

    If the bean has state, it must be a stateful session EJB.

    If it has no state, it may be a stateless session EJB.

    Peace,

    Cameron Purdy
    Tangosol, Inc.
    Coherence: Clustered JCache for Grid Computing!