title: Tomcat: remote programmatic deploy?
body: <p>I'd like to deploy to Tomcat <strong>programatically</strong> remotely, What are my options?
  I know about /manager/deploy.
  Is it possible over JMX? Even an MBean not comming with Tomcat is okay.</p>
  
  <p>Edit: It seems that deploying using /manager/deploy doesn't work - if I do POST request with multipart format containing a file, the servlet returns 405 Method not allowed. Also, the 6.0.32 code of the servlet doesn't seem to implement remote deployment - am I wrong? How to do that?</p>
  
  <p>Thanks.</p>