Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Session beans equal method  RSS feed

 
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.
 
no wonder he is so sad, he hasn't seen this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!