<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 &quot;jackson compatible&quot;.<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">&lt;<a href="mailto:pmuir@redhat.com" target="_blank">pmuir@redhat.com</a>&gt;</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&#39;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>
&gt; Sorry I was not up to the point, I am talking of current implementation of Aerogear scaffold of Forge.<br>
&gt;<br>
&gt; The question is: should Aerogear scaffold continue with Jackson or migrate to Errai?<br>
&gt;<br>
&gt; Thomas<br>
&gt;<br>
&gt; ----- Ursprüngliche Nachricht -----<br>
&gt; Von: &quot;Luca Masini&quot;<br>
&gt; Erhalten: 19.12.2012 13:03<br>
&gt; An: &quot;forge-dev List&quot;<br>
&gt;<br>
&gt; Hi Thomas, I didn&#39;t understand very well the question in your poll.<br>
&gt;<br>
&gt; Anyway when you talk about the marshalling, do you mean an annotation that know how to manage how to serialize persistent collection ??<br>
&gt;<br>
&gt; In a way, are you talking about the problem that frameworks like Gilead try to solve ??<br>
&gt;<br>
&gt;<br>
&gt; 2012/12/18 Thomas Frühbeck &lt; <a href="mailto:fruehbeck@aon.at">fruehbeck@aon.at</a> &gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; during experiments extending a generated aerogear application I found that<br>
&gt;   - the current integration of JSON via Jackson is kinda creative hack<br>
&gt;   - not easily portable to recent releases of Jackson (see above)<br>
&gt;   - does not make use of annotation driven UI/ser/deserializ. processing<br>
&gt;<br>
&gt; 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>
&gt; in Forge&#39;s scaffold.<br>
&gt; As I am not really deep into Jackson/JSON/Rest yet I would like to ask for your opinion on this.<br>
&gt;<br>
&gt; Another question regarding use of annotations in a scaffold:<br>
&gt; 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>
&gt; necessary to use persistence-based entity instantiation before deserialization, to avoid loss of data if an incomplete entity is desrialized and persisted by<br>
&gt; merge().<br>
&gt;<br>
&gt; Do you think it acceptable to actively insert annotations into entity code - possibly by a scaffold command like &quot;scaffold applyAnnotations&quot;?<br>
&gt;<br>
&gt; In my opinion this could provide interesting best practice propagation for novices like me.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Thomas<br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; ****************************************<br>
&gt; <a href="http://www.lucamasini.net" target="_blank">http://www.lucamasini.net</a><br>
&gt; <a href="http://twitter.com/lmasini" target="_blank">http://twitter.com/lmasini</a><br>
&gt; <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>
&gt; ****************************************<br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <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>