Ruby and Java code to support running Rack applications inside Java Servlet containers