title: Is the command pattern compatible with RESTful web services?
body: <p>Google <a href="http://www.youtube.com/watch?v=PDuhR18-EdM&amp;feature">recommends</a> the use of the command pattern when building complex GWT applications.  The idea seems to have some merit and various frameworks have been developed to help.  However, most of the examples I found are using GWT-RPC for client/server communication.</p>
  
  <p>We are considering developing a RESTful web service for our Java backend -- and using that for client/server communication (possibly using a framework like <a href="http://restygwt.fusesource.org/index.html">Resty</a>). </p>
  
  <p>But is the command pattern even compatible with Rest web services?  What would those Rest URLs look like?  How would command batching and undo be supported?</p>