title: Compiling Java on Tomcat/JSP Hosting
body: <p>I'm thinking of purchesing hosting from a company that has Tomcat/JSP install on their servers (arvixe.com/linux_web_hosting). I wish to know if I need tomcat/jsp in order to compile a .java file on the webserver. What I would like to do is for a visitor to upload a .java file and for the server to compile it into a java webapplet. For example:</p>
  
  <ol>
  <li>Visitor uploads their .java file.</li>
  <li>Server compiles the .java into a .class.</li>
  <li>Server signs the .class and makes a .jar.</li>
  <li>Once done the visitor can download the .jar and use it for personal use.</li>
  </ol>
  
  <p>What would I need in order to do this? I already know how to do it on the computer with Java installed, but I would like to do it on the webhost as well. If I can do this I would like to do it with PHP if possible.</p>