Example code to demo deploying app to tomcat