Working demo of the java app