Category Archives: XML

JAXB Annotations Reference

Introduction JAXB defines many annotations that shape how Java classes map to XML Schema. This article documents the JAXB annotations that you will use most often and provides practical examples how to use them. This reference page is part of a series of articles on JAXB: Introduction to JAXB JAXB Validation XSLT with JAXB Schemagen – convert Java … Continue reading JAXB Annotations Reference

xjc – Convert XML Schema to Java

Introduction The xjc tool generates Java source code from an XML Schema. This article is a quick reference page to use xjc from both the command line and Maven. This reference page is part of a series of articles on JAXB: Introduction to JAXB JAXB Validation XSLT with JAXB Schemagen – convert Java classes to XML Schema Xjc – convert Xml … Continue reading xjc – Convert XML Schema to Java

schemagen – Convert Java classes to XML Schema

Introduction The schemagen tool converts Java classes to a XML Schema. This article is a quick reference page to use schemagen from both the command line and Maven. This reference page is part of a series of articles on JAXB: Introduction to JAXB JAXB Validation XSLT with JAXB Schemagen – convert Java classes to XML Schema Xjc – convert Xml Schema … Continue reading schemagen – Convert Java classes to XML Schema

Introduction to JAXB

Introduction This tutorial gives an in-depth introduction to JAXB (Java Architecture for XML Binding). The purpose of this tutorial is to show to how to quickly convert Java objects to XML and vice versa. Later tutorials will explore more advanced concepts of JAXB, such as validation, XSLT or schema generation. What is JAXB? JAXB defines a standard … Continue reading Introduction to JAXB