[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: JDOM vs. JAXP/Xerces for XML document creation


jdom vs jaxp
7/15/2002 11:37:20 AM, Glen Mazza <glenmazza@y...> wrote:

>
>Question: I haven't used JAXP before--is it 
>cumbersome to the degree that I should be using a
>wrapper like JDOM instead, or is the latter mostly a
>"crutch" I should avoid while concentrating on
>learning JAXP instead?  What are most using today?  

I'd suggest worrying more about what YOU need that what
most people are doing :~)  

JDOM is a handy "crutch" for getting a DOM-like application
going quickly, especially for experienced/committed Java
developers who like the Java idioms and see no reason to
hassle with others.  There are a few limitations that
may or may not apply to you ...

- There is one and only one JDOM. If you commit to it,
you have the source code and and open process to work with,
but no alternatives to easily switch to.  

- JDOM's architecture expolits the fact that there it doesn't
have to worry about multiple implementations. This is a strength if
you like to use classes and constructors rather than 
interfaces and factories, but some prefer the design patterns
that these facilitate.

- JDOM is easier than DOM for simple things, but even its
advocates (see below) acknowledge that hard things can be
VERY hard. 

I'd strongly suggest reading Elliotte Rusty Harold's online 
chapters on DOM and JDOM to see which meets your needs best.
http://www.ibiblio.org/xml/books/xmljava/



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.