OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Preferred object to xml mapping tool?

[ Lists Home | Date Index | Thread Index ]


I've had some experience with digester (it was chosen by a dev team where I work for a project I interact with).  It works but I can't say I highly recommend it.  It has a custom XML format for specifying how your input XML is instantiated as java objects.  It's kind of sax-y but also re-invent-the-wheel-y.  I've never used it to spit out XML, I'm not sure it does that.

If I were going to do this myself the first thing I'd look at is betwixt (an apache project).

SOAP and JOX could both be useful in some cases but it sounds like your requirement to be able to specify the mapping would make either of those too restrictive for you.

I also think that hibernate can map to XML, not sure how configurable the map is.



Nathan Young
CDC Site Dev->Interface Development Team
A: ncy1717
E: natyoung@cisco.com  

> -----Original Message-----
> From: Laurent Le Meur [mailto:laurent.lemeur@afp.com] 
> Sent: Tuesday, February 21, 2006 8:51 AM
> To: 'James Carr'; xml-dev@lists.xml.org
> Subject: RE: [xml-dev] Preferred object to xml mapping tool?
> We've used Castor for a prototype of newsml-2 
> (www.iptc.org/dev) object mapping.
> Works pretty fine (but ... we met a bug, sent the correction 
> to the community,
> but had no answer...). And scalability seems good. 
> Laurent Le Meur
> > -----Message d'origine-----
> > De : James Carr [mailto:james.r.carr@gmail.com]
> > Envoyé : mardi 21 février 2006 15:14
> > À : xml-dev@lists.xml.org
> > Objet : [xml-dev] Preferred object to xml mapping tool?
> > 
> > Hi,
> > 
> > Besides cooking up your own xml mapping framework, what are some of
> > the most standard tools out there that are usefull for 
> mapping objects
> > (and object graphs) to xml in the java world that avoid imposing
> > object design standards on you (i.e. forcing attributes to 
> be public,
> > for example, rathyer than allowing you to draw data from methods)?
> > 
> > So far I've found Castor, any others worth exploring?
> > 
> > Thanks,
> > JC
> -=-=-=-=-=-=-=-=-=-=-=-
> This e-mail, and any file transmitted with it, is 
> confidential and  intended solely for the use of the 
> individual or entity to whom it is addressed. If you have 
> received this email in error, please  contact the sender and 
> delete the email from your system. If you are  not the named 
> addressee you should not disseminate, distribute or copy  this email.
> For more information on Agence France-Presse, please visit 
> our web site at http://www.afp.com
> -=-=-=-=-=-=-=-=-=-=-=-
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS