Example source code for the article 'Mimic CGI Behavior in RESTful Java Web Services'