example of communication between the webapp and the java control app added