i have to write one comparator for On bean(A).
But that bean contains, some other beans(B,C,D.....) as instance variables.
So can anybody tell me how to write comparator for that bean(A),
so that properties in B,C,D also have to be compared
Thanks in advance