Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Wiki Markup{scrollbar} Anchortoptop

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 Anchorschemaschema

Target Namespace

http://geronimo.apache.org/xml/ns/j2ee/application-1.1
As all the other application deployment descriptors must indicate
the application schema by using the J2EE namespace the
geronimo-application also uses this J2EE namespace

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
target namespace.
By default, local element declarations belong to this schema's target
namespace.
By default, local attribute declarations have no namespace.

Schema Composition

This schema imports schema(s) from the following namespace(s):

http://geronimo.apache.org/xml/ns/security-1.1(at

geronimo-security-1.1.xsd)

http://geronimo.apache.org/xml/ns/deployment-1.1(at

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/namespace

is 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 Anchorglobalglobal

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
J2EE application deployment descriptor in Geronimo

...

...

Global Definitions Anchordefinitionsdefinitions

[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 AnchorapplicationType applicationType

Super-types

None

Sub-types

None

Name

applicationType

Abstract

no

Documentation

The applicationType defines the structure of the application in geronimo.
The application deployment descriptor must have one module element for each
J2EE module in the application package. A module element is defined by moduleType
definition

...

Complex Type: ext-moduleType Anchorext-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
defining a Geronimo specific deploy descriptors.

...

...

Complex Type: string Anchorstring string

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.

...

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.)

...