okay you might say its a duplicate of this.
It might be but the answer is still yet to be found.
Isn\'t there any way we can make a RESTful web service without u
You should be able to accomplish this with servlets. Create a servlet for each service or url that you expose to your service consumers.
Eg. For a user CRUD service, create a UserServlet and specify the mapping as /user/*. Consumers of your service, will hit urls such as
for various RESTful operations.
Inside of the servlet, you should be able to extract the request parameters, form data, request headers and context information.
For a detailed discussion on how to design your restful api and best practices, search "Restful API Design". Here are a couple of links to get you started