<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>+1 to Errai+JS<br><br>Em 21/12/2012, às 19:44, "Lincoln Baxter, III" &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; escreveu:<br><br></div><blockquote type="cite"><div><div dir="ltr">If I were given the choice, I would choose Errai + REST over pure JS + REST. Try maintaining a 100,000+ line javascript app over multiple teams. Good luck!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Dec 19, 2012 at 3:41 PM, Luca Masini <span dir="ltr">&lt;<a href="mailto:luca.masini.mailing.list@gmail.com" target="_blank">luca.masini.mailing.list@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>Ciao.</div></div><div class="HOEnZb"><div class="h5"><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'm not sure you can replace one with the other.<br>



<div><div><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: "Luca Masini"<br>
&gt; Erhalten: 19.12.2012 13:03<br>
&gt; An: "forge-dev List"<br>
&gt;<br>
&gt; Hi Thomas, I didn'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" target="_blank">fruehbeck@aon.at</a> &gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; during experiments extending a generated aerogear application I found that<br>
&gt; &nbsp; - the current integration of JSON via Jackson is kinda creative hack<br>
&gt; &nbsp; - not easily portable to recent releases of Jackson (see above)<br>
&gt; &nbsp; - 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'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 "scaffold applyAnnotations"?<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" target="_blank">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" target="_blank">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" target="_blank">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" 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>
</div>
</div></div><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></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-dev mailing list</span><br><span><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></span><br></div></blockquote></body></html>