XmlRegistry code example
Example: XmlRegistry
JAXBContext context = JAXBContext.newInstance(Employee.class, Employee.XMLObjectFactory.class);
JAXBContext context = JAXBContext.newInstance(Employee.class, Employee.XMLObjectFactory.class);