Hi,

 

First of all I would like to say Hello since this is my first post on the
mailing list.

 

Second, my questions:

I'm trying to do a implementation of OpenEHR in Java with the persistence
layer in JSON.

I've searched the web but all the implementations/libraries I find use XML
to store and the openEHR java-libs to process the ADL files. 

My application would try to follow the REST/JSON API in
https://www.ehrscape.com/ and since the persistence is also made in JSON, I
think it's an expensive overhead to convert from JSON->XML-> AOM -> validate
-> XML->JSON-> database.

If I follow the java-libs way but use JSON at both ends ( storage and REST
API ) I would have to convert back to XML or AOM to validate the structure
with the java-libs.

 

I'm I missing something here or is just a bad idea to do persistence in
JSON?

 

Hope my doubts actually make sense and you can give me some guidance.

 

Best,

Duarte Ferreira

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20150421/73c34d95/attachment.html>

Reply via email to