As per the EJB specification, the container always maintains equal instances of the Stateless Session beans in its pool. There is no state associated with Stateless session beans. Can you now make it out?
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
In the ejb 3.0 specification on page 47 (184.108.40.206 Stateless Session Beans) you can find
The equals method always returns true when used to compare references to the same business interface type of the same session bean. Session bean references to either different business interface types or different session beans will not be equal.
I hope that this helps, in the same document - somewhere upper - is they describe the equals for statefull.
SCJP, SCJD, SCWCD, OCPJBCD
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads