title: REST API with the running java project
body: <p>I have a java project up and running. </p>
  
  <p><code>java -Xmx1g -cp $classpath $runnableclass -url $url $arguments</code></p>
  
  <p>This will printout the results in terminal.</p>
  
  <p>I want to create a web api so that I can run this in a webpage. I want users to enter their url and get the results on the webpage while the parameters set in the webpage using boxes or radio buttons. My search for such application didn't go any where since most of the examples were not showing how to use a package in REST api. </p>
  
  <p>I'd appreciate if you can direct me to some templates or examples or tutorials. Thanks. </p>