wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes JAXB - efault parser? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB - efault parser?" Watch "JAXB - efault parser?" New topic
Author

JAXB - efault parser?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
JAXB uses which parser for Marshalling and UnMarshalling?
Karthik Shiraly
Ranch Hand

Joined: Apr 04, 2009
Posts: 497
    
    5
Hi,

JAXB is a standard.
Which parser is used depends on the implementation of the standard. Sun JRE uses Apache Xerces; other JREs may use something else.
Blaise Doughan
Greenhorn

Joined: Aug 25, 2010
Posts: 8
The MOXy JAXB implementation (http://www.eclipse.org/eclipselink/moxy.php) uses what ever JAXP parsers are configured for your VM. I believe the Metro JAXB implementation (https://jaxb.dev.java.net/) also works this way.
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187

...Sun JRE uses Apache Xerces; other JREs may use something else.


Actually this statement is not accurate. In the Java 1.4 release, Sun included a "Sun" version of the Xerces XML parser in the standard Java Reference Implementation. They did not include the Apache Xerces application. Results of industry studies have demonstrated that the Apache
version exceeds the standard Java package version in speed and performance.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB - efault parser?