Simple Java App to trace links