sample java application to deploy in tomcat