• 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

compare two javabean objects

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

I have two javabean objects are i.e Jbean1 and Jbean2.
Again Jbean1 is the wrapper for set of javabeans, just like Jbean2 also.
i.e Jbean1 and Jbean2 each holds the set of javabeans.
Now i want to compare Jbean1 and Jbean2, it should be generic regardless of the bean properteis.
in future properties for the particuler javabean can change.

can anybody help me in this problem?

thanks in advance.

Thanks,
sandya.
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You've left out too many details to give you a difinitive answer. What are you attempting to compare them for? Equality? List order? Object Identity?
 
T sandya
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i am trying to check the data inside the two objects(Jbean1 and Jbean2) are equal or not?

Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic