BlockPatrol is a project mainly written in Java, it's free.
Bukkit Anti-Griefing, In-game rollback Plugin