html5 application client + java on server