tomcat Embedding into an application