<div dir="ltr">Pete I think that Thomas is talking about the marshalling protocol used by Errai, you can use its own or one that is "jackson compatible".<div><br></div><div>I prefere the latter because I use JAX-RS services that produces JSON with Jackson.</div>
<div><br></div><div style>Ciao.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/19 Pete Muir <span dir="ltr"><<a href="mailto:pmuir@redhat.com" target="_blank">pmuir@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jackson is a marshalling library for XML and JSON. Errai is a framework for building apps that execute in the browser. I'm not sure you can replace one with the other.<br>
<div class="HOEnZb"><div class="h5"><br>
On 19 Dec 2012, at 13:55, A-ON Puls Referenz-User wrote:<br>
<br>
> Sorry I was not up to the point, I am talking of current implementation of Aerogear scaffold of Forge.<br>
><br>
> The question is: should Aerogear scaffold continue with Jackson or migrate to Errai?<br>
><br>
> Thomas<br>
><br>
> ----- Ursprüngliche Nachricht -----<br>
> Von: "Luca Masini"<br>
> Erhalten: 19.12.2012 13:03<br>
> An: "forge-dev List"<br>
><br>
> Hi Thomas, I didn't understand very well the question in your poll.<br>
><br>
> Anyway when you talk about the marshalling, do you mean an annotation that know how to manage how to serialize persistent collection ??<br>
><br>
> In a way, are you talking about the problem that frameworks like Gilead try to solve ??<br>
><br>
><br>
> 2012/12/18 Thomas Frühbeck < <a href="mailto:fruehbeck@aon.at">fruehbeck@aon.at</a> ><br>
> Hi,<br>
><br>
> during experiments extending a generated aerogear application I found that<br>
> - the current integration of JSON via Jackson is kinda creative hack<br>
> - not easily portable to recent releases of Jackson (see above)<br>
> - does not make use of annotation driven UI/ser/deserializ. processing<br>
><br>
> During my investigations on upgrade possibilities to modern Jackson I realized, that Errai is a very powerful and complete framework well worth being featured<br>
> in Forge's scaffold.<br>
> As I am not really deep into Jackson/JSON/Rest yet I would like to ask for your opinion on this.<br>
><br>
> Another question regarding use of annotations in a scaffold:<br>
> Especially regarding modern Errai/Jackson annotations are an easy means to control the UI / (De-)Serialization, e.g. when working with entities, I think it is<br>
> necessary to use persistence-based entity instantiation before deserialization, to avoid loss of data if an incomplete entity is desrialized and persisted by<br>
> merge().<br>
><br>
> Do you think it acceptable to actively insert annotations into entity code - possibly by a scaffold command like "scaffold applyAnnotations"?<br>
><br>
> In my opinion this could provide interesting best practice propagation for novices like me.<br>
><br>
> Thanks,<br>
> Thomas<br>
> _______________________________________________<br>
> forge-dev mailing list<br>
> <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
><br>
><br>
><br>
> --<br>
> ****************************************<br>
> <a href="http://www.lucamasini.net" target="_blank">http://www.lucamasini.net</a><br>
> <a href="http://twitter.com/lmasini" target="_blank">http://twitter.com/lmasini</a><br>
> <a href="http://www.linkedin.com/pub/luca-masini/7/10/2b9" target="_blank">http://www.linkedin.com/pub/luca-masini/7/10/2b9</a><br>
> ****************************************<br>
> _______________________________________________<br>
> forge-dev mailing list<br>
> <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br>
<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>****************************************<br><a href="http://www.lucamasini.net">http://www.lucamasini.net</a><br><a href="http://twitter.com/lmasini">http://twitter.com/lmasini</a><br>
<a href="http://www.linkedin.com/pub/luca-masini/7/10/2b9">http://www.linkedin.com/pub/luca-masini/7/10/2b9</a><br>****************************************<br>
</div>