Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The <sys:environment> XML element uses the Geronimo System namespace, which is used to specify the common elements for common
libraries and module-scoped services, and is documented here:

...

The <naming:web-container> XML element uses the Geronimo Naming namespace, which is used to identify the common elements for
resolving EJB references, resource references, and Web services references, and is documented here:

...

Code Block
xml
xml
borderStylesolid
title<container-config> Example
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
         xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">

    <sys:environment>
        <sys:moduleId>
            <sys:groupId>default</sys:groupId>
            <sys:artifactId>geronimo-web-6</sys:artifactId>
            <sys:version>1.0</sys:version>
            <sys:type>car</sys:type>
        </sys:moduleId>
    </sys:environment> 

    <container-config>

        <tomcat xmlns="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0">
            <host>testhost.com</host>
            <valve-chain>FirstValve</valve-chain>
            <tomcat-realm>TomcatRealm</tomcat-realm>
        </tomcat>

    </container-config>

</web-app>

<security-realm-name>

<sys:service>

The <sys:service> The <security-realm-name> XML element uses the Geronimo default namespace for the geronimo-web.xml fileSystem namespace, and is documented
here:

The <security-realm-name> <sys:service> element is used to specify the name of the security realm that will be used for user authentication.

<app:security>

an empty generic element to be extended by GBean and other module types.

<ee:persistence>

The <ee:persistence> The <app:security> XML element uses the Geronimo Applicaiton Java EE Persistence namespace, and is documented here:

  • http://geronimojava.apachesun.org/schemas-2.1/docs/geronimo-application-2.0.xsd.htmlImage Removed.

The <app:security> element is used to maps roles specified in the WAR file to roles or principals in the security realm that will be used after deploying the module.

<sys:service>

Apache Geronimo uses OpenJPA for providing Java Persistence API to Java EE applications deployed in the server.

<sys:gbean>

The <sys:gbean> The <sys:service> XML element uses the Geronimo System namespace, and is documented here:

The <sys:service> element is an empty generic element to be extended by GBean and other module types.

<ee:persistence>

It is used to define GBean(s) that are configured and deployed with the web application.. These additional Geronimo services will be deployed when the application is deployed (and stopped when the application is stopped). Normally, the implementation classes for these services are included at the server level and referenced using a dependency element.

Security:

<security-realm-name>

The <security-realm-name> XML element uses the Geronimo default namespace for the geronimo-web.xml fileThe <ee:persistence> XML element uses the Java EE Persistence namespace, and is documented here:

Apache Geronimo uses OpenJPA for providing Java Persistence API to Java EE applications deployed in the server.

<sys:gbean>

The <security-realm-name> element is used to specify the name of the security realm that will be used for user authentication.

<sec:security>

The <sec:security> The <sys:gbean> XML element uses the Geronimo System Security namespace, and is documented here:

The <sec:security> element groups the security role mapping settings for web application. This is an optional element, but if it is present all the web modules make the appropriate access checks as outlined in the JACC specificationIt is used to define GBean(s) that are configured and deployed with the web application.. These additional Geronimo services will be deployed when the application is deployed (and stopped when the application is stopped). Normally, the implementation classes for these services are included at the server level and referenced using a dependency element.

JNDI References:

All the JNDI reference elements in this section use the Geronimo Naming namespace, which is used to identify the common elements for resolving EJB references, resource references, and Web services references, and is documented here:

...