This article explains key concepts of a Java NIO buffer: position, limit, capacity and flipping, and the difference between direct and non-direct buffers.
This article provides an overview of Java NIO and NIO.2, and will be the foundation for later articles that will explore Java networking programming.
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
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
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 This tutorial explains how to transform Java classes using XSLT templates. XSLT is a language that transforms XML documents to another format, such as HTML, PDF or XML with different structure. JAXB lets you treat your Java objects as if they were XML documents. We can therefore leverage the existing javax.xml.transform APIs to transform … Continue reading XSLT with JAXB
Introduction This tutorial explains how to use JAXB validation. It first shows how to validate a JAXB object marshalled to XML. It then shows how to validate an XML message unmarshalled to a Java object. It finally explains how to leverage the javax.xml.validation API to validate a Java object against an XML Schema. This tutorial is part … Continue reading JAXB Validation
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
This tutorial will show how beans can send JMX notifications, and how they communicate with the JConsole and other JMX listeners.
By default, the JMX API falls short with providing meaningful descriptions and parameter names. Using the JMX API directly is complicated. The aim of this tutorial is to provide two annotations that will encapsulate this complexity: @Description and @Name