Restlet Vs Servlet
Posted on 2011-10-26
I am very new to Restful Web Service. I need to write a Restful WebService so that another application can consume it.
I know there are two options
1. Servlet Approach
2. Restful Web Service
I want to understand the details on both the approaches and the differences as well. Can somebody please help.
The URL in the end should enable the consumer to do a HTTPs post with the following parameters
1. Username/Password to identify a valid consumer
2. A String param and timestamp are the posted by the consumer.