• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

isIdentical() method

 
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
You may also look at
EJB 1.1 Specification Page 46
Section 5.8 Object Identity
Viv
 
reply
    Bookmark Topic Watch Topic
  • New Topic