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.