posted 15 years ago
I am reading JAXB, and learned the steps of
Unmarshaling (bind, Create JAXBContext, getUnmarshller, call unmarshal)
I also came to know about reading XML data using
ObjectFactory (bind, Create ObjectFactory, get Collection, ...)
I am not able to understand the difference between Unmarshalling & reading XML data using ObjectFactory,
If I have a choice to use either of way to read XML file using JAXB, why should I prefer one to other?