-
JAVA framework for XML data binding (2 messages)
- Posted by: Raj Devershetty
- Posted on: August 01 2006 15:00 EDT
We have a requirement to unmarshall very large file in JAVA.The size of the file is up to 10MB.Also the Schema validation against the XSD file Currently,our choice is to use JiBX (http://jibx.sourceforge.net ) primary based on performance consideration.(see a pretty old performance tests at http://www-128.ibm.com/developerworks/xml/library/x-databdopt2/_ It takes less than 40s to validate a 10mb instead of 20mn with the XMLBeans library. 1-Do you have any suggestion of other JAVA framework which could perform as well as JiBX and which are listed in the "core libraries" submitted to the domain council ? - Thank you Raj DevershettyThreaded Messages (2)
- Re: JAVA framework for XML data binding by Sohail Sikora on August 01 2006 16:25 EDT
- Re: JAVA framework for XML data binding by Raj Devershetty on August 01 2006 16:41 EDT
-
Re: JAVA framework for XML data binding[ Go to top ]
- Posted by: Sohail Sikora
- Posted on: August 01 2006 16:25 EDT
- in response to Raj Devershetty
Do you want to validate and pass the XML along? In the first case, you can just use a JAXP validator ( javax.xml.validation.*) and it is a part of the standard JDK API, 1.5.0 and above. OR Do you want to validate, unmarshal and use the data that is in the XML doc? I would go for JAXB/jibx/XMLBeans etc. Look at https://bindmark.dev.java.net/ -
Re: JAVA framework for XML data binding[ Go to top ]
- Posted by: Raj Devershetty
- Posted on: August 01 2006 16:41 EDT
- in response to Sohail Sikora
Currently I'm using XMLBean for validation and unmarshalling. Its very slow for 10mb XML file to unmarshall. Is Jibx does strong schema validation?