# Copy the file to the same package (directory) in which your model classes reside.

# Copy the file to the same package (directory) in which your model classes reside.

−

# Create a <tt>JAXBContent</tt> using the standard APIs.<br><div><source lang="java">

+

# Create a <tt>JAXBContent</tt> using the standard APIs.<br>When this method is called, MOXy attempts to locate a <tt>jaxb.properties</tt> file on the classpath in the package specified by <tt>contextPath</tt>, and use the specified factory.<br><div><source lang="java">

Copy the file to the same package (directory) in which your model classes reside.

Create a JAXBContent using the standard APIs.When this method is called, MOXy attempts to locate a jaxb.properties file on the classpath in the package specified by contextPath, and use the specified factory.

JAXBContext jaxbContext = JAXBContext.newInstance(Customer.class);

Because you do not need to change any application code, you can easily switch between different JAXB implementations.