java-server-225x225

Mimic CGI Behavior in RESTful Java Web Services

In my article RESTful Java Web Services with NetBeans, Jersey and Tomcat I showed you how to create a simple Java web service to handle HTTP GET and POST requests. The service handlers in this example didn’t do much. The GET handler just returned a single string and the POST handler echoed back any text…