Library for computing diffs, applying patches, generationg side-by-side view
http://code.google.com/p/java-diff-utils/