Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: How choose between javax.xml.parses and xerces implementation

  1. #1
    Member
    Join Date
    Apr 2014
    Posts
    31
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default How choose between javax.xml.parses and xerces implementation

    I am in doubt about what could be the basic differences between
    javax.xml.parsers.DocumentBuilderFactory fac = javax.xml.parsers.DocumentBuilderFactory.newInstan ce();
    and
    javax.xml.parsers.DocumentBuilderFactory fac = new org.apache.xerces.jaxp.DocumentBuilderFactoryImpl( );
    I guess that it might be a very simple question but because I am interested in fundamental concepts that will help me understand the two options and improve my search.
    I don't know if it is relevant for my question, but I have read a lot in web that xerces may raise some exceptions when develop in Toncat but publish to Websphere in reason of classpath (that is my environment. Anyway, any comment will help narrow my search.
    Last edited by DemeCarv; May 26th, 2014 at 05:48 PM.


Similar Threads

  1. xml file in JAR archive vs xml in classes folder
    By n0hc in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 2nd, 2013, 09:44 PM
  2. convert excel to xml and read the input from xml file
    By rahulruns in forum Object Oriented Programming
    Replies: 5
    Last Post: April 3rd, 2012, 11:13 AM
  3. Help where to start .. implementation what to choose??
    By andydowthwaite in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: March 13th, 2012, 12:13 PM
  4. Reading XML File using DOMParser and have problem with accessing xml
    By optiMystic23 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 21st, 2012, 02:22 PM
  5. Replies: 3
    Last Post: May 15th, 2010, 02:05 PM

Tags for this Thread