Wiki Markup top Anchor
Introduction
The following article describes the XML Schema for the geronimo-application.xsd deployment descriptor .In order to deploy an EAR application in Geronimo,there should be a Geronimo specific deployment plan for it called "geronimo-application.xml".The deployment descriptor must be named "META-INF/geronimo-application.xml" in the application's EAR file.
The article organized into the following sections : -
...
Geronimo Application XML Schema Document
...
...
Schema Document Properties Anchor schema schema
Target Namespace | http://geronimo.apache.org/xml/ns/j2ee/application-1.1 |
Version | 1.0 - The version indicates the published version ofthe schema |
Element and Attribute Namespaces | Global element and attribute declarations belong to this schema's |
Schema Composition | This schema imports schema(s) from the following namespace(s): geronimo-security-1.1.xsd) geronimo-module-1.1.xsd) |
...
Prefix | Namespace | Description |
---|---|---|
xml | http://www.w3.org/XML/1998/namespace | The namespace whose name is http://www.w3.org/XML/1998/namespaceis bound by definition to the prefix xml: according to Namespaces in XML, W3C Recommendation 14 Jan 1999 |
Geronimo | http://geronimo.apache.org/xml/ns/j2ee/application-1.1 | This is the target name space defined for Geronimo EAR applications |
security | http://geronimo.apache.org/xml/ns/security-1.1 | This schema describes Common security elements used by other plans in Security Mapping module. |
sys | http://geronimo.apache.org/xml/ns/deployment-1.1 | This schema Used to deploy new services in Geronimo in a standalone plan, and also contains common elements used by many other plans and the module type is Server Plans & Common Elements |
xs | http://www.w3.org/2001/XMLSchema | This document describes the XML Schema namespace. It also contains a directory of links to these related resources, using Resource Directory Description Language http://www.rddl.org/ |
...
...
Global Declarations Anchor global global
This section highlights the application element declaration that is available for use in the content models throughout the schema.
...
Name | Application |
Type | N/A |
Geronimo | ApplicationType |
Nillable | No |
Abstract | No |
Documentation | The application element is the root element of a |
...
...
Global Definitions Anchor definitions definitions
[This section highlights the complex types (an XML element that contains other elements and/or attributes)
which can be be referenced within the same schema of by other schemas.]
Complex Type: applicationType Anchor applicationType applicationType
Super-types | None |
Sub-types | None |
Name | applicationType |
Abstract | no |
Documentation | The applicationType defines the structure of the application in geronimo. |
...
...
Complex Type: ext-moduleType Anchor ext-moduleTypeext-moduleType
Super-types | None |
Sub-types | None |
Name | ext-moduleType |
Abstract | no |
Documentation | Mirrors the moduleType defined by application_1_4.xsd and adds an optional alt-dd element |
...
...
Complex Type: string Anchor stringstring
Super-types | xs:token < string (by extension) |
Sub-types | None |
Name | string |
Abstract | no |
Documentation | Mirrors j2ee:string. |
...
...
Legend
Complex Type: | AusAddress |
Schema Component Type | Schema Component Name |
Super-types: | Address < AusAddress (by extension) |
Sub-types: | QLDAddress (by restriction) |
...
...
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
...
Name | AusAddress |
Abstract | no |
The table above displays the properties of this schema component.
...
The XML Instance Representation table above shows the schema component's content as an XML instance.
- The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g.
[0..1]
. - Model group information are shown in gray, e.g. Start Choice ... End Choice.
- For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold.
- If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
- Otherwise, the type of the element/attribute is displayed.
- If the element/attribute's type is in the schema, a link is provided to it.
- For local simple type definitions, the constraints are displayed in angle brackets, e.g.
<pattern = [1-9][0-9]{3}/>
- If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g.
<postcode>
.
...
- .
...
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
...