• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session beans equal method

 
Deepika Joshi
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added reply to following thread but my reply is not visible in the following thread
http://www.coderanch.com/t/446507/EJB-Certification-SCBCD/certification/Session-beans-equal-method

this Continue to mentioned thread....
According to the specification its fine, I just wander why the stateless beans equal method returns true for the same interface? That means the container will create a single object for it?

I think it does not matter if it is same object or different but it depends how container is extending byte code (implementing equals method).
e.g.

Please note: ThisClass is not Java entity, but className added by container while implementation of equals method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic