A client creates a connection from a connection factory. To obtain an instance of the abstract class ConnectionFactory, the client calls the getConnectionFactory method in the JAXR provider’s JAXRUtility class.
import org.freebxml.omar.client.xml.registry.util.JAXRUtility; ... ConnectionFactory factory = JAXRUtility.getConnectionFactory();