Java Server

Added the java server code.