• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

compare two javabean objects

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
    Bookmark Topic Watch Topic
  • New Topic