Full working Java Server (runs on Java 6).