If I want an ORM that helps me to develop a “database agnostic” application, then Hibernate would be a good fit, but if I need to map entities or objects to nodes in an XML file, then JAXB would be the right type of technology… would that be a correct assessment?
Share
Yes, JAXB is intended for binding Java objects to XML and vice-versa. It is not an exact analogy, imo, but I think I see what you are getting at. 🙂