title: How to Embed tomcat in java
body: <p>I am trying to embed tomcat in java application. I searched the google but no luck. i was not able to find good tutorial. is there any complete tutorials or api docs for embedding tomcat.
  this question might be duplicate of <a href="https://stackoverflow.com/questions/640022/howto-embed-tomcat-6">another question</a>. but it seems old. I read that tomcat 7 api over tomcat 6 is lot improved. so i considered it as old. Any links for tutorials is appreciated.</p>