Oracle GlassFish Server 3.0.1 Add-On Component Development Guide

How GlassFish Server Stores Configuration Data

GlassFish Server stores the configuration data for a domain in a single configuration file that is named domain.xml. This file is an extensible markup language (XML) instance that contains a hierarchy of elements to represent a domain's configuration. The content model of this XML instance is not defined in a document type definition (DTD) or an XML schema. Instead, the content model is derived from Java language interfaces with appropriate annotations. You use these annotations to add configuration data for a component as explained in the sections that follow.

For detailed information about the domain.xml file, see Oracle GlassFish Server 3.0.1 Domain File Format Reference.