Hi Thomas, I didn&#39;t understand very well the question in your poll.<div><br></div><div>Anyway when you talk about the marshalling, do you mean an annotation that know how to manage how to serialize persistent collection ?? </div>

<div><br></div><div>In a way, are you talking about the problem that frameworks like Gilead try to solve ??</div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/18 Thomas Frühbeck <span dir="ltr">&lt;<a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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&#39;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 &quot;scaffold applyAnnotations&quot;?<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>
</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>