<?xml version="1.0"?>
<html>
        <head/>
        <body>
                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&#252;ngliche Nachricht -----
                <br/>
                Von: "Luca Masini"
                <luca.masini.mailing.list gmail.com="gmail.com">
                        <br/>
                        Erhalten: 19.12.2012 13:03
                        <br/>
                        An: "forge-dev List"
                        <forge-dev lists.jboss.org="lists.jboss.org">
                                <br/>
                                <blockquote>
                                        <!--?xml version="1.0"?-->
                                        <br/>
                                        Hi Thomas, I didn'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&#252;hbeck
                                                        <span dir="ltr">
                                                                <
                                                                <a href="http://javascript:parent.fastEmail('fruehbeck@aon.at');&quot; mce_href=&quot;javascript:parent.fastEmail('fruehbeck@aon.at');&quot; target=&quot;_blank" mce="mce" target="_blank">fruehbeck@aon.at</a>
                                                                >
                                                        </span>
                                                        <br/>
                                                        <blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; 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'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="http://javascript:parent.fastEmail('forge-dev@lists.jboss.org');&quot; mce_href=&quot;javascript:parent.fastEmail('forge-dev@lists.jboss.org');" mce="mce" target="_blank">forge-dev@lists.jboss.org</a>
                                                                <br/>
                                                                <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" mce="mce" 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" mce="mce" target="_blank">http://www.lucamasini.net</a>
                                                <br/>
                                                <a href="http://twitter.com/lmasini" mce="mce" target="_blank">http://twitter.com/lmasini</a>
                                                <br/>
                                                <a href="http://www.linkedin.com/pub/luca-masini/7/10/2b9" mce="mce" target="_blank">http://www.linkedin.com/pub/luca-masini/7/10/2b9</a>
                                                <br/>
                                                ****************************************
                                                <br/>
                                        </div>
                                </blockquote>
                        </forge-dev>
                </luca.masini.mailing.list>
        </body>
</html>