This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes comparing object graphs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "comparing object graphs" Watch "comparing object graphs" New topic

comparing object graphs

Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
I have to write a component, which basically compare the values in two similar (nested) objects to generate some kind of reports.
Any thought how effectively it could be done?
Thanks in advance
Brian McCallister

Joined: Dec 03, 2002
Posts: 19
Umh, compare them, generate your report. Aside from that we'd really need some more information.
Comparing complex object graphs could be a very fun task, but is a bit vague. Also, are we dealig with graphs, or just nested objects (container style?).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: comparing object graphs
jQuery in Action, 3rd edition