The Wayback Machine is a pure Java application that allows web browsers to access and search content stored in a set of ARC files.
Please see this page.
Please see the reference implementation .jsp files for examples, and the API docs (and source) for org.archive.wayback.query.UIQueryResults.java.