• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
The fastest and most reliable components of any system are those that are not there. Tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic