SmolHTTPd provides a REST server implementation using Java Reflection. Usage examples may be obtained from test classes or from this German PDF.
I release it mainly for educational purpose. Only a few considerations were made about security, stability and performance! But please feel free to use it according to LICENSE.