Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

isIdentical() method

 
Madhu Juneja
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case of isIdentical() method for Entity Beans, it checks whether the Primary Keys are equal or not. How does the isIdentical() work for Stateless and Stateful Session Beans ?
Thanks
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Madhu,
Even for stateless and Stateful session beans there is an identity. However this identity is not reveled to the Client. The isIdentical() is a remote method of the RemoteObject and is implemented by the specific vendor. Hence we do not know how it is implemented. what we do know is that we can find out if two session beans are identical or not.

[This message has been edited by Rahul Mahindrakar (edited April 24, 2001).]
 
Vivek Viswanathan
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You may also look at
EJB 1.1 Specification Page 46
Section 5.8 Object Identity
Viv
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic