title: Restful Webservice Java, server side
body: <p>I'm trying to develop a small server which would include one restful webservice.</p>
  
  <p>I'd like to use JAX-RS for the webservice part, but every example I'm seeing is using a tomcat server, and I can't use any 'application' server (meaning I can create a server in my code, but can't run it from the outside).</p>
  
  <p>Well anyway I was wondering if anyone had any sample to show, and any advice on which light library I could use to run such a simple server into my code (can't use any gpl /lgpl etc licence, so no jersey for example).</p>
  
  <p>Thank you.</p>