title: How to run a Java application on Tomcat?
body: <p>How can I run Java application on Apache tomcat?Is there an option to do it?</p>
  
  <p>For example, running application that scan web services and upload the data
  to the database every 5 min.</p>
  
  <p>If it possible, how it works? is there on process for running web apps (servlets)
  and another process that runs the Java application?</p>