• Home
  • Docker
  • Kubernetes
  • LLMs
  • Java
  • Ubuntu
  • Maven
  • Big Data
  • Archived
Samples | Customizing JAXB Bindings (JAXB Maven Plugin)
  1. Notes
  2. The project Structure
  3. Maven - POM Configuration
  4. Schema: payload.xsd
  5. Sample XML: payload.xml
  6. Model: Payload.java
  7. Customizing JAXB Bindings: payload.xjb

  1. Notes
    This sample code shows how to:
    • Use the JAXB maven plugin to generate Java classes from the XML schemas.
    • Customize JAXB Bindings to reference existing classes.

    See this page for details how to use JAXB to marshal and unmarshal Java objects and XML documents:
    JAXB Marshalling/Unmarshalling
  2. The project Structure

    mtitek-jaxb-bindings
  3. Maven - POM Configuration
  4. Schema: payload.xsd
  5. Sample XML: payload.xml
  6. Model: Payload.java
  7. Customizing JAXB Bindings: payload.xjb
© 2025  mtitek