Ajaxterm4j Terminal emulator inside browser, with the server-side implementation in Java. See the website for more details.