Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

XML: JDOM vs DOM
I'm just reading "Java & XML" by Brett McLoughlin,
and he introduces JDOM, which he created (with others).
I'm wondering how widely JDOM is used,
and if people do find it simpler than DOM?

I've actually found a few problems compiling the JDOM code
in the book, as there seem to have been some changes in the API
since it was written.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

Report this thread to moderator Post Follow-up to this message
Old Post
Timothy Murphy
12-23-04 02:14 AM


Re: XML: JDOM vs DOM
"Although it's similar to the World Wide Web Consortium's (W3C) DOM,
it's an alternative document object model that was not built on DOM or
modeled after DOM. The main difference is that while DOM was created to
be language-neutral and initially used for JavaScript manipulation of
HTML pages, JDOM was created to be Java-specific and thereby take
advantage of Java's features, including method overloading,
collections, reflection, and familiar programming idioms. For Java
programmers, JDOM tends to feel more natural and "right." It's similar
to how the Java-optimized RMI (remote method invocation) library feels
more natural than the language-neutral CORBA (Common Object Request
Broker Architecture)."   -
http://www.oracle.com/technology/or...ep/o52jdom.html


I too have the same book you have, and yes, the API has changed a
little.  I find it much simpler to use since it has a lot of stuff
required in parsing XML built in, rather than you having to write the
code yourself!

$0.02
Adam


Report this thread to moderator Post Follow-up to this message
Old Post
nimph
12-23-04 02:14 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:57 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.