title: compile and interpret code via webservice (blackbox?)
body: <p>I'd like to compile and execute Java code on a website, and automatically compare its output on a website.</p>
  
  <p>The Java code should be typed in by the website-user.</p>
  
  <p>I think the solution must be something like: Creating a webservice wich calls a blackbox java instance and sends the output back as output for the webservice via json. But I don't really know how to do that and if there is a more practical solution to get the execution results of the Java code, I would love to hear about that.</p>
  
  <p>I'm interested in doing things like this in Python too for example. Is there a similar solution to do that?</p>
  
  <p>Hope somebody can help me to do that.</p>
  
  <p>Greetings and thank you,</p>
  
  <p>Jan</p>