Hibernate / EclipseLink Interview questions
What is EclipseLink MOXy?
MOXy is EclipseLink's implementation of Jakarta XML Binding (JAXB), used to convert Java objects to and from XML, and, as an extension beyond standard JAXB, to and from JSON as well. It uses the same @XmlRootElement, @XmlElement, and related annotations that any JAXB implementation recognizes.
A notable capability MOXy adds is being able to reuse the same object model for both relational persistence (through EclipseLink JPA) and XML/JSON representation (through MOXy), sharing metadata where the two overlap, which is useful for applications that need to both persist an object and expose it through a REST API without maintaining duplicate mapping logic.
More Related questions...