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.
: Clustered JCache for Grid Computing!