Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Pattern »

Re: Parsing XML File - From Session Bean

Ben Hill

2004-04-16


RE: Parsing XML File - From Session Bean

> -----Original Message-----
> From: Arul Prakasam [mailto:arul.prakasam@iflexsolutions.com]
> Sent: 16 April 2004 05:19
> To: J2EEPATTERNS-INTEREST@JAVA.SUN.COM
> Subject: Re: Parsing XML File - From Session Bean
>
>
> Use sax parser for effective parsing.

That's a non-quantifiable statement really. It depends on your requirements.
If you wish to read some data from an XML document or parse it once, then Sax
is pretty good. If you have to store an in-memory model of the document and
manipulate it, then a DOM parser may be more applicable.

HTH

Ben



********************************************************************

This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.btsyntegra.com

********************************************************************
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@java.sun.com
©2008 junlu.com - Jax Systems, LLC, U.S.A.