This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using Jersey API for REST WS.I have Customer POJO which has customer Id, customer details e.t.c....If I use DELETE method for deleting customers, as soon as the server is restarted the deleted resource(Customer) will still be there as Rest API is stateless....So for deleting the record I am passing the parameter Customer Id using GET or POST and deleting the record from the database.This is working fine. Is this the correct way or I should use the DELETE method instead? If I use DELETE method the record(custoner) will be deleted, but as soon as the server is restarted , the delete record is still shown(because of statelessness)..