title: How to deploy my RESTful application to Apache server?
body: <p>I built my java RESTful application in Eclipse with Jersey and a couple other libraries. My question is, how do I deploy this to a Tomcat server? Do I export it as a WAR file? Do I need to deploy the libraries I used as well or are they packaged in the WAR file?
  The server is running on an ubuntu machine which I can access over ssh. I got the server running with "apt-get install tomcat7". Which folder should I put it in? Is any configuration needed? What should I do with the web.xml file?
  Thanks in advance.</p>