aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Session beans equal method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Session beans equal method" Watch "Session beans equal method" New topic
Author

Session beans equal method

Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session beans equal method