Java Servlet that wraps a generic cli command