Rest design patterns
Hi you all,
I am about to start a project for our JCommunicator device.
https://jcommunicator.dev.java.net/
We thought about starting with a Rest approach because it is lightweight and because it can be nicelly couple with AJAX applications.
The problem is that we dont have enought experience on developping web applications following a REST approach. This is a sample of our URL pattern:
GET
/jcommunicator/users -- Retrives all users
/jcommunicator/users?<xml string> -- A get with parameters
POST
/jcommunicator/users?<xml string> -- Insert a new record
PUT
/jcommunicator/users/1?<xml string> -- Edit an user
DELETE
/jcommunicator/users/1 -- Delete user with id 1
/jcommunicator/users?<xml string> -- Delete users that match the criteria.
What do you guys think of this?
Thanks,
MeTitus

