|
From: Bill B. <bb...@re...> - 2008-07-30 11:45:44
|
This is really awesome Ryan! Looking forward to seeing the flex app. Ryan J. McDonough wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have committed the updated JAXB Providers and posted updated > documentation here: > > http://wiki.jboss.org/auth/wiki/BuiltInJAXBXMLProvider > > I have also added some more unit tests to cover the different cases, but > it could still use some more test coverage. With this all working, I'll > also want to update the JSON provider so that it too can take advantage > of these changes as well. Additionally, I also created a provider to > handle FastinfoSets: > > http://en.wikipedia.org/wiki/Fast_Infoset > > Finally, I also committed a bunch of code for my example app which uses > an EJB, Seam, and has some custom exception mappers. It also shows how > you can handle cyclic references with JAXB and re-associate children > with their parent objects on unmarshall. I have a Swing and Flex GUI > I'm wrapping up that'll pull it all together. Once that is complete, > I'll update the documentation. > > Ryan- > > On Jul 21, 2008, at 9:02 PM, Ryan J. McDonough wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Absolutely! There are some very subtle differences for all of these >> variations and i'll put those up on the wiki as part of the commit. >> >> Ryan- >> >> >> On Jul 21, 2008, at 8:38 AM, Bill Burke wrote: >> >>> Can you map out how people will configure and use these new JAXB >>> providers? That is the hardest part of all of this since we have to >>> DI mechanism. >>> >>> Ryan J. McDonough wrote: >>>> I just opened: >>>> https://jira.jboss.org/jira/browse/RESTEASY-82 >>>> Currently, our JAXBProvider does not handle classed which are >>>> generated from an existing XML Schema by XJC. To resolve this, I >>>> have refactored the JAXBProvider into a number of more specialized >>>> providers: >>>> *JAXBContextCache*: >>>> A shared class for all JAXB providers to cache the various >>>> JAXBContexts in use >>>> *JAXBXmlRootEntityProvider* : >>>> basically the same as our current JAXBProvider >>>> JAXBXmlTypeProvider: >>>> Generated classes won't have the @XmlRootEntity annotation on them >>>> and therefore will be ignored. *JAXBElementProvider*: >>>> A JAXB provider for JAXBElement classes. >>>> With the number of classes here, I'm considering creating a jaxb >>>> subpackage under: >>>> org.jboss.resteasy.plugins.providers >>>> Thoughts? >>>> I have already got most of this done and will be committing changes >>>> by next Monday. Please let me know if you see any issues with these >>>> changes. On a related note; we may also want to consider similar >>>> changes for the JSON providers as well as this issue will affect >>>> this provider also. Ryan- >>>> ------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win >>>> great prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in >>>> the world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Resteasy-developers mailing list >>>> Res...@li... >>>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers >>> >>> -- >>> Bill Burke >>> JBoss, a division of Red Hat >>> http://bill.burkecentral.com >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (Darwin) >> >> iD8DBQFIhTHCK/xjmUY6JwURAqKeAJ9puaboJQHYWXXDcdGiDIjfhLFhKgCglCTO >> w4kaOyjRu6QVvQF9H9pf1jQ= >> =/uFk >> -----END PGP SIGNATURE----- > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (Darwin) > > iD8DBQFIj+EiK/xjmUY6JwURAhL+AJ40MToEA065BLIBCzo2LBirrGrlTwCdGMw5 > DEzlIDmFV6+tA142VUGL864= > =XbVv > -----END PGP SIGNATURE----- -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |