Is it possible to cache handle of a stateless session bean in the cache? I think it is not as we do not know which instance serves us. I am not quite sure about it though as I have seen something to that effect on web.
Thanks Parag. I think now I am clear. One can cache the handle of stateless session bean but it would be detrimental to performance. It defeats the purpose for server side pooling etc. For SFSB, as it is good to cache the reference to abovoid network round trip.
Originally posted by D. Rose: Thanks Parag. I think now I am clear. One can cache the handle of stateless session bean but it would be detrimental to performance. It defeats the purpose for server side pooling etc. For SFSB, as it is good to cache the reference to abovoid network round trip.
Where would you cache the Stateful Session Bean Handle then? I am not clear who is responsible for caching the stateful session bean handle. Is it the http session, business delegate or service locator?
Where would you cache the Stateful Session Bean Handle then? I am not clear who is responsible for caching the stateful session bean handle. Is it the http session, business delegate or service locator?
Not sure either, but since a handle is something a client wants to deal with, my shot would be the business delegate.