<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Joerg,<br>
    thanks for picking up questions before I even post them ;-)<br>
    <br>
    <div class="moz-cite-prefix">Am 16.09.2016 um 17:58 schrieb Jörg
      Richter:<br>
    </div>
    <blockquote
      cite="mid:15B3AC41-BF40-4497-84A3-A88B75712A37@deepamehta.de"
      type="cite">
      <pre wrap="">
        public void updateEditablePerson(@PathParam("personId") long personId, String editablePersonJSON) {
                ...
        }


This would make a better business API:

        public void updateEditablePerson(@PathParam("personId") long personId, EditablePerson person) {
                ...
        }

</pre>
    </blockquote>
    I totally agree with that approach. I was sure there must be some
    way to let he container do the serialization but couldn't get it to
    work by myself. So to have something working I choe the manual way.<br>
    <br>
    However after discussion my approach in general I think I am going
    to use core's REST API from JavaScript directly. The reason is that
    I would otherwise spend a lot of time writing boilerplate
    serialization/deserialization code.<br>
    <br>
    Regarding that API: Is there an online documentation for the REST
    API or should I simply consult the respective service class and read
    the API from the Annotations?<br>
    <br>
    Best regards,<br>
    Robert<br>
    <blockquote
      cite="mid:15B3AC41-BF40-4497-84A3-A88B75712A37@deepamehta.de"
      type="cite">
      <pre wrap="">
Cheers,
Jörg

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Robert Schuster
freiberuflicher Softwareingenieur

RS01 - IT-Systemanalyse und -entwicklung Robert Schuster
Brückenstraße 4 • 12439 Berlin
+49 157 798 00 310
<a class="moz-txt-link-abbreviated" href="mailto:robert.schuster.rs01@gmail.com">robert.schuster.rs01@gmail.com</a>

</pre>
  </body>
</html>