JAXP 1.6 Enhancements in Java SE 8

The Java SE 8 release contains Java API for XML Processing (JAXP) 1.6, which requires the use of the service provider loader facility defined by java.util.ServiceLoader to load services from service configuration files. The rationale for this is to allow for future modularization of the Java SE platform where service providers may be deployed by means other than JAR files and perhaps without the service configuration files. Note that the JAXP has always specified the use of the 'Services API' without reference to a specific API or service provider loading facility.

For more information see JEP 162: Prepare for Modularization as well as the JAXP 1.6 Change List.

Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved.