making app for running on standalone tomcat