[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Re: [ajug-members]: XML to Objects
- To: <ajug-members@ajug.org>
- Subject: RE: Re: [ajug-members]: XML to Objects
- From: "Tom Boyce" <tom.boyce@wellfound.com>
- Date: Mon, 17 May 2004 13:42:30 -0400
- Importance: Normal
- In-Reply-To: <200405171655.i4HGt9Us054104@mxsf15.cluster1.charter.net>
I've been following this thread with some interest as I was asked recently
what I knew about parsing XML. My situation being different from objects,
maybe people can also discuss tools for parsing XML??
Tom Boyce
-----Original Message-----
From: John Camerin [mailto:easyrider76@charter.net]
Sent: Monday, May 17, 2004 12:55 PM
To: ajug-members@ajug.org
Subject: Re: Re: [ajug-members]: XML to Objects
Anyone mentioned JAXB yet? The JAXB "compile" creates a set of Java
interfaces and implementation classes that represent your XML.
>
> From: "Scott P. Smith" <support@scott-smith.com>
> Date: 2004/05/17 Mon AM 09:06:30 EDT
> To: ajug-members@ajug.org
> Subject: Re: [ajug-members]: XML to Objects
>
> It loads the XML into generic objects.
>
> It's not a Java-to-XML binding technology.
>
> Sorry if I misunderstood your question.
>
> On Mon, 2004-05-17 at 08:44, Brian Lee wrote:
> > So does JDOM bind the xml to specific java objects representing the
> > data or
> > just to generic java objects (sort of like xerces)?
> >
> > BAL
> >
> > >From: "Scott P. Smith" <support@scott-smith.com>
> > >To: ajug-members@ajug.org
> > >Subject: Re: [ajug-members]: XML to Objects
> > >Date: 17 May 2004 08:33:00 -0400
> > >
> > >JDOM's API does represent XML as Java objects. It is not DOM
> > >compliant, it was developed to be a Java-centric DOM-like API. DOM
> > >was developed to be language independent, so it made compromises.
> > >JDOM, on the other hand, was developed to be a Java only API for
> > >representing and manipulating XML. It can make use of any XML
> > >parser and XSTL engine via JAXP. It's really a fantastic and
> > >feature rich API for working with XML in Java. It's been around
> > >for several years now and is quite mature and robust. Several
> > >other Java APIs for XML have forked off of JDOM. I used it for a
> > >project a couple of years ago, and would use it again. JDOM never
> > >gave us any problems. There is also a very active JDOM community
> > >who are extremely helpful. JDOM was developed by one of the guys
> > >that wrote the O'Reilly book: Java and XML.
> > >
> > >On Mon, 2004-05-17 at 08:05, Brian Lee wrote:
> > > > Does JDOM convert into java objects or just provide an API for
> > > > parsing
> > >and
> > > > navigating the DOM?
> > > >
> > > > BAL
> > > >
> > > > >From: "Scott P. Smith" <support@scott-smith.com>
> > > > >To: ajug-members@ajug.org
> > > > >Subject: Re: [ajug-members]: XML to Objects
> > > > >Date: 17 May 2004 06:42:30 -0400
> > > > >
> > > > >I prefer JDOM. See jdom.org.
> > > > >
> > > > >On Mon, 2004-05-17 at 00:30, Vivian van Zyl wrote:
> > > > > > Hi All,
> > > > > >
> > > > > >
> > > > > >
> > > > > > I was wondering what you guys use to turn XML into objects.
> > > > > > I
> > >usually
> > > > > > use JOX but that does not handle XML attributes. I also use
> > > > > > Castor
> > >but
> > > > > > I was wondering if there is something similar and easier ?
> > > > > >
> > > > > >
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > >
> > > > > >
> > > > > > Viv
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
>
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 5/16/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 5/16/2004