title: how to set a class as daemon with tomcat?
body: <p>I'm new on the java universe, also new in the tomcat world. So, the issue is:</p>
  
  <p>I need to run a java class as a daemon. This class should be able to comunicate with the tomcat requests.</p>
  
  <p>In the past: when I did this in C, I executed the binary file as a background process. </p>
  
  <p>Could you give me some suggestions how to proceed?</p>
  
  <p>thanks ind advance!.</p>