If you add 3rd party jars in your classpath then you can use it your code it is applied to all 3rd party api
Joined: Aug 05, 2008
Ok, if we take the specific question here and suppose I put the woodstox jars in the classpath, will the JVM pick the woodstox implementation (i.e. give priority to what's in the classpath)instead of it's bundled implementation (sjsxp)?
It seems unlikely to me. I am expecting some form of pluggability configuration here? Anybody else can help?
The JEE 5 tutorial talks about that. It uses properties, similar to how one would select a particular SAX or DOM implementation. The one you're looking for is probably javax.xml.stream.XMLInputFactory.