The task is this, there is a text with the code, you need to send it via POST to the server, and the java virtual machine has to work it out and return the result as text to the client. Maybe someone did this or sign, where to dig where to start?

  • Write a Java program that raises a web server (for example: jetty, undertow, ratpack, rapidoid) and processes a POST request. Handles it and returns it back. - Nofate ♦
  • @Nofate seems to mean the interpretation of the bare java-code - etki
  • @Etki, then you need to compile the code on the server side (this can be done programmatically) and write ClassLoader which will run this code. But here I see a lot of security problems, to say the least. - Nofate ♦

0