Do you always need an ObjectFactory class when using JAXB?
Without it I get this exception:
javax.xml.bind.JAXBException: "com.a.b.c" doesnt contain ObjectFactory.class or jaxb.index
I gather the ObjectFactory can be overkill. But given this exception I'm guessing you need it.. but not sure why?