First paragraph (2nd line) says, "If a stateless session bean is deployed multiple times (each deployment results in the creation of a distinct home), session objects from different homes will have a different identity"
I really don't understand the above sentence. If same SLSB is deployed multiple times, how can a client hold all the ejbobject references (one ejbobject per deployment basis).
Can anybody help me in understanding this ? Thanks in advance.
Hmm ... I've never seen Michael spelled that way. Is it still pronounced like Michael?
I think you're confusing the session bean with its home stub. You retrieve the home from JNDI, and there is, in fact, only one ... unless you actually write your deployment descriptor to deploy the same bean type twice under two different JNDI names. That means two homes and two separate pools of the stateless session beans, just as if you had deployed two entirely different beans. The point the spec is making is that the two homes can't share a pool, so you can never retrieve the same session object from different homes.