Peter Barraud at [EMAIL PROTECTED] wrote:
>
> Hi
> Has anybody started using the JDOM
> it seems incredibly easier than DOM & SAX
> since I haven't done anything so far, I would appreciate any suggestions
> about weather it would be ok to go ahead and work completely with the JDOM
> or should I first start with DOM & SAX

It's a very good XML API for the Java2 platform, and I suggest using it
rather than DOM WHEREVER, especially in servlets, where memory consumption
and time-to-garbage-collect _ARE_ important (and DOM seriously ignores all
that).

Don't even touch SAX, unless you don't have to go deep down into XML and do
some fine tuning on ultra-lightspeed processing and/or you have some very
very very specific requirements on what you have to do (consider JDOM like
Java and SAX like machine-code, three oceans between them).

Dom can be simply "garbage collected" in the list of useless specs :) :)

(Go Jason! :)

    Pier

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to