title: Java client to Spring Data Rest server
body: <p>I want to create a RESTful server which provides persistency for 2 types of clients: (1) a webpage, so JSON transport is the obvious choice, and (2) a Java stand-alone client.  The Java server and Java client should both share the same domain model.</p>
  
  <p>I'm working on getting the server running with Spring Data Rest and JPA. Spring Data Rest looks like a very elegant solution.</p>
  
  <p>However, most of the uses of Spring Data Rest is with a html client or RestTemplates but i have not found any examples of how to de-serialise the JSON back into the same domain objects it originates from. </p>
  
  <p>If there is a better suggestion than Spring Data Rest i would also like to hear.</p>