Hitachi

Cosminexus V11 アプリケーションサーバ リファレンス 定義編(アプリケーション/リソース定義)


3.7.2 DDとの対応

WAR属性ファイルとDeployment Descriptorの対応を次に示します。

〈この項の構成〉

(1) Servlet2.3の場合

WAR属性ファイル

Deployment Descriptor

タグ名

出現パターン

タグ名

出現パターン

<hitachi-war-property>

1回

<web-app>

1回

┣

<description>

0または1回

┣

<description>

0または1回

┣

<display-name>

1回

┣

<display-name>

0または1回

┣

<icon>

0または1回

┣

<icon>

0または1回

┃

┣

<small-icon>

0または1回

┃

┣

<small-icon>

0または1回

┃

┗

<large-icon>

0または1回

┃

┗

<large-icon>

0または1回

┣

<distributable>

0または1回

┣

<distributable>

0回以上

┣

<context-param>

0回以上

┣

<context-param>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<param-name>

1回

┃

┣

<param-name>

1回

┃

┗

<param-value>

1回

┃

┗

<param-value>

1回

┣

<filter-mapping>

0回以上

┣

<filter-mapping>

0回以上

┃

┣

<filter-name>

1回

┃

┣

<filter-name>

1回

┃

┣

<url-pattern>※1

1回

┃

┣

<url-pattern>※1

1回

┃

┗

<servlet-name>※1

1回

┃

┗

<servlet-name>※1

1回

┣

<listener>

0回以上

┣

<listener>

0回以上

┃

┗

<listener-class>

1回

┃

┗

<listener-class>

1回

┃

−

−

┃

(省略)

−

┣

<session-config>

0または1回

┣

<session-config>

0または1回

┃

┗

<session-timeout>

0または1回

┃

┗

<session-timeout>

0または1回

┣

<mime-mapping>

0回以上

┣

<mime-mapping>

0回以上

┃

┣

<extension>

1回

┃

┣

<extension>

1回

┃

┗

<mime-type>

1回

┃

┗

<mime-type>

1回

┣

<welcome-file-list>

0または1回

┣

<welcome-file-list>

0または1回

┃

┗

<welcome-file>

1回以上

┃

┗

<welcome-file>

1回以上

┣

<error-page>

0回以上

┣

<error-page>

0回以上

┃

┣

<error-code>※2

1回

┃

┣

<error-code>※2

1回

┃

┣

<exception-type>※2

1回

┃

┣

<exception-type>※2

1回

┃

┗

<location>

1回

┃

┗

<location>

1回

┣

<taglib>

0回以上

┣

<taglib>

0回以上

┃

┣

<taglib-uri>

1回

┃

┣

<taglib-uri>

1回

┃

┗

<taglib-location>

1回

┃

┗

<taglib-location>

1回

┣

<security-constraint>

0回以上

┣

<security-constraint>

0回以上

┃

┣

<display-name>

0または1回

┃

┣

<display-name>

0または1回

┃

┣

<web-resource-collection>

1回以上

┃

┣

<web-resource-collection>

1回以上

┃

┃

┣

<description>

0または1回

┃

┃

┣

<description>

0または1回

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<url-pattern>

0回以上

┃

┃

┣

<url-pattern>

0回以上

┃

┃

┗

<http-method>

0回以上

┃

┃

┗

<http-method>

0回以上

┃

┣

<auth-constraint>

0または1回

┃

┣

<auth-constraint>

0または1回

┃

┃

┣

<description>

0または1回

┃

┃

┣

<description>

0または1回

┃

┃

┗

<role-name>

0回以上

┃

┃

┗

<role-name>

0回以上

┃

┣

<user-data-constraint>

0または1回

┃

┗

<user-data-constraint>

0または1回

┃

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┃

┗

<transport-guarantee>

1回

┃

┗

<transport-guarantee>

1回

┃

┗

<original-name>

1回

┃

−

−

┣

<login-config>

0または1回

┣

<login-config>

0または1回

┃

┣

<auth-method>

0または1回

┃

┣

<auth-method>

0または1回

┃

┣

<realm-name>

0または1回

┃

┣

<realm-name>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┣

<form-login-page>

1回

┃

┣

<form-login-page>

1回

┃

┗

<form-error-page>

1回

┃

┗

<form-error-page>

1回

┣

<security-role>

0回以上

┣

<security-role>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<role-name>

1回

┃

┗

<role-name>

1回

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<env-entry>

0回以上

┣

<env-entry>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-type>

1回

┃

┣

<env-entry-type>

1回

┃

┗

<env-entry-value>

1回

┃

┗

<env-entry-value>

0または1回

┣

<ejb-ref>

0回以上

┣

<ejb-ref>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<home>

1回

┃

┣

<home>

1回

┃

┣

<remote>

1回

┃

┣

<remote>

1回

┃

┗

<ejb-link>

0または1回

┃

┗

<ejb-link>

0または1回

┣

<ejb-local-ref>

0回以上

┣

<ejb-local-ref>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<local-home>

1回

┃

┣

<local-home>

1回

┃

┣

<local>

1回

┃

┣

<local>

1回

┃

┗

<ejb-link>

0または1回

┃

┗

<ejb-link>

0または1回

┣

<resource-ref>

0回以上

┣

<resource-ref>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<res-ref-name>

1回

┃

┣

<res-ref-name>

1回

┃

┣

<res-type>

1回

┃

┣

<res-type>

1回

┃

┣

<res-auth>

1回

┃

┣

<res-auth>

1回

┃

┣

<res-sharing-scope>

0または1回

┃

┗

<res-sharing-scope>

0または1回

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<resource-env-ref>

0回以上

┣

<resource-env-ref>

0回以上

┃

┣

<description>

0または1回

┃

┣

<description>

0または1回

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-type>

1回

┃

┗

<resource-env-ref-type>

1回

┃

┣

<linked-queue>

0または1回

┃

−

−

┃

┃

┣

<resource-adapter>

1回

┃

−

−

┃

┃

┗

<queue>

1回

┃

−

−

┃

┗

<linked-adminobject>

0または1回

┃

−

−

┃

┣

<resourceadapter-name>

1回

┃

−

−

┃

┗

<adminobject-name>

1回

┃

−

−

┗

<runtime>

0または1回

┃

−

−

┗

<context-root>

1回

┃

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

−:対応するタグがありません。または,対応するタグがないか,タグを省略しているため,出現パターンの説明を省略しています。

(省略):タグを省略しています。

注※1

<url-pattern>と<servlet-name>のどちらか一つを指定します。

注※2

<error-code>と<exception-type>のどちらか一つを指定します。

(2) Servlet2.4の場合

WAR属性ファイル

Deployment Descriptor

タグ名

出現パターン

タグ名

出現パターン

<hitachi-war-property>

1回

<web-app>

1回

┣

<description>

0回以上

┣

<description>

0回以上

┣

<display-name>

1回以上

┣

<display-name>

0回以上

┣

<icon>

0回以上

┣

<icon>

0回以上

┃

┣

<small-icon>

0または1回

┃

┣

<small-icon>

0または1回

┃

┗

<large-icon>

0または1回

┃

┗

<large-icon>

0または1回

┣

<distributable>

0または1回

┣

<distributable>

0回以上

┣

<context-param>

0回以上

┣

<context-param>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<param-name>

1回

┃

┣

<param-name>

1回

┃

┗

<param-value>

1回

┃

┗

<param-value>

1回

┣

<filter-mapping>

0回以上

┣

<filter-mapping>

0回以上

┃

┣

<filter-name>

1回

┃

┣

<filter-name>

1回

┃

┣

<url-pattern>※1

1回

┃

┣

<url-pattern>※1

1回

┃

┣

<servlet-name>※1

1回

┃

┣

<servlet-name>※1

1回

┃

┗

<dispatcher>

0または4回以下

┃

┗

<dispatcher>

0または4回以下

┣

<listener>

0回以上

┣

<listener>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<icon>

0回以上

┃

┣

<icon>

0回以上

┃

┃

┣

<small-icon>

0または1回

┃

┃

┣

<small-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┗

<listener-class>

1回

┃

┗

<listener-class>

1回

┃

−

−

┃

(省略)

−

┣

<session-config>

0回以上

┣

<session-config>

0回以上

┃

┗

<session-timeout>

0または1回

┃

┗

<session-timeout>

0または1回

┣

<mime-mapping>

0回以上

┣

<mime-mapping>

0回以上

┃

┣

<extension>

1回

┃

┣

<extension>

1回

┃

┗

<mime-type>

1回

┃

┗

<mime-type>

1回

┣

<welcome-file-list>

0回以上

┣

<welcome-file-list>

0回以上

┃

┗

<welcome-file>

1回以上

┃

┗

<welcome-file>

1回以上

┣

<error-page>

0回以上

┣

<error-page>

0回以上

┃

┣

<error-code>※2

1回

┃

┣

<error-code>※2

1回

┃

┣

<exception-type>※2

1回

┃

┣

<exception-type>※2

1回

┃

┗

<location>

1回

┃

┗

<location>

1回

┣

<jsp-config>

0回以上

┣

<jsp-config>

0回以上

┃

┣

<taglib>

0回以上

┃

┣

<taglib>

0回以上

┃

┃

┣

<taglib-uri>

1回

┃

┃

┣

<taglib-uri>

1回

┃

┃

┗

<taglib-location>

1回

┃

┃

┗

<taglib-location>

1回

┃

┗

<jsp-property-group>

0回以上

┃

┗

<jsp-property-group>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<icon>

0回以上

┃

┣

<icon>

0回以上

┃

┃

┣

<small-icon>

0または1回

┃

┃

┣

<small-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┣

<url-pattern>

1回以上

┃

┣

<url-pattern>

1回以上

┃

┣

<el-ignored>

0または1回

┃

┣

<el-ignored>

0または1回

┃

┣

<page-encoding>

0または1回

┃

┣

<page-encoding>

0または1回

┃

┣

<scripting-invalid>

0または1回

┃

┣

<scripting-invalid>

0または1回

┃

┣

<is-xml>

0または1回

┃

┣

<is-xml>

0または1回

┃

┣

<include-prelude>

0回以上

┃

┣

<include-prelude>

0回以上

┃

┗

<inclede-coda>

0回以上

┃

┗

<inclede-coda>

0回以上

┣

<security-constraint>

0回以上

┣

<security-constraint>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<web-resource-collection>

1回以上

┃

┣

<web-resource-collection>

1回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<url-pattern>

1回以上

┃

┃

┣

<url-pattern>

1回以上

┃

┃

┗

<http-method>

0回以上

┃

┃

┗

<http-method>

0回以上

┃

┣

<auth-constraint>

0または1回

┃

┣

<auth-constraint>

0または1回

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┗

<role-name>

0回以上

┃

┃

┗

<role-name>

0回以上

┃

┣

<user-data-constraint>

0または1回

┃

┗

<user-data-constraint>

0または1回

┃

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┃

┗

<transport-guarantee>

1回

┃

┗

<transport-guarantee>

1回

┃

┗

<original-name>

1回

┃

−

−

┣

<login-config>

0回以上

┣

<login-config>

0回以上

┃

┣

<auth-method>

0または1回

┃

┣

<auth-method>

0または1回

┃

┣

<realm-name>

0または1回

┃

┣

<realm-name>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┣

<form-login-page>

1回

┃

┣

<form-login-page>

1回

┃

┗

<form-error-page>

1回

┃

┗

<form-error-page>

1回

┣

<security-role>

0回以上

┣

<security-role>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<role-name>

1回

┃

┗

<role-name>

1回

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<env-entry>

0回以上

┣

<env-entry>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-type>

1回

┃

┣

<env-entry-type>

1回

┃

┣

<env-entry-value>

1回

┃

┗

<env-entry-value>

0または1回

┃

┗

<injection-target>

0回以上

┃

−

−

┃

┣

<injection-target-class>

1回

┃

−

−

┃

┗

<injection-target-name>

1回

┃

−

−

┣

<ejb-ref>

0回以上

┣

<ejb-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<home>

1回

┃

┣

<home>

1回

┃

┣

<remote>

1回

┃

┣

<remote>

1回

┃

┣

<ejb-link>

0または1回

┃

┗

<ejb-link>

0または1回

┃

┗

<injection-target>

0回以上

┃

−

−

┃

┣

<injection-target-class>

1回

┃

−

−

┃

┗

<injection-target-name>

1回

┃

−

−

┣

<ejb-local-ref>

0回以上

┣

<ejb-local-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<ejb-ref-type>

1回

┃

┣

<local-home>

1回

┃

┣

<local-home>

1回

┃

┣

<local>

1回

┃

┣

<local>

1回

┃

┣

<ejb-link>

0または1回

┃

┗

<ejb-link>

0または1回

┃

┗

<injection-target>

0回以上

┃

−

−

┃

┣

<injection-target-class>

1回

┃

−

−

┃

┗

<injection-target-name>

1回

┃

−

−

┣

<resource-ref>

0回以上

┣

<resource-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<res-ref-name>

1回

┃

┣

<res-ref-name>

1回

┃

┣

<res-type>

1回

┃

┣

<res-type>

1回

┃

┣

<res-auth>

1回

┃

┣

<res-auth>

1回

┃

┣

<res-sharing-scope>

0または1回

┃

┗

<res-sharing-scope>

0または1回

┃

┣

<mapped-name>

0または1回

┃

−

−

┃

┣

<injection-target>

0回以上

┃

−

−

┃

┃

┣

<injection-target-class>

1回

┃

−

−

┃

┃

┗

<injection-target-name>

1回

┃

−

−

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<resource-env-ref>

0回以上

┣

<resource-env-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-type>

1回

┃

┗

<resource-env-ref-type>

1回

┃

┣

<mapped-name>

0または1回

┃

−

−

┃

┣

<injection-target>

0回以上

┃

−

−

┃

┃

┣

<injection-target-class>

1回

┃

−

−

┃

┃

┗

<injection-target-name>

1回

┃

−

−

┃

┣

<linked-queue>

0または1回

┃

−

−

┃

┃

┣

<resource-adapter>

1回

┃

−

−

┃

┃

┗

<queue>

1回

┃

−

−

┃

┗

<linked-adminobject>

0または1回

┃

−

−

┃

┣

<resourceadapter-name>

1回

┃

−

−

┃

┗

<adminobject-name>

1回

┃

−

−

┣

<locale-encoding-mapping-list>

0回以上

┗

<locale-encoding-mapping-list>

0回以上

┃

┗

<locale-encoding-mapping>

1回以上

┗

<locale-encoding-mapping>

1回以上

┃

┣

<locale>

1回

┣

<locale>

1回

┃

┗

<encoding>

1回

┗

<encoding>

1回

┗

<runtime>

0または1回

−

−

┗

<context-root>

1回

−

−

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

−:対応するタグがありません。または,対応するタグがないか,タグを省略しているため,出現パターンの説明を省略しています。

(省略):タグを省略しています。

注※1

<url-pattern>と<servlet-name>のどちらか一つを指定します。

注※2

<error-code>と<exception-type>のどちらか一つを指定します。

(3) Servlet2.5の場合

WAR属性ファイル

Deployment Descriptor

タグ名

出現パターン

タグ名

出現パターン

<hitachi-war-property>

1回

<web-app>

1回

┣

<description>

0回以上

┣

<description>

0回以上

┣

<display-name>

1回以上

┣

<display-name>

0回以上

┣

<icon>

0回以上

┣

<icon>

0回以上

┃

┣

<small-icon>

0または1回

┃

┣

<small-icon>

0または1回

┃

┗

<large-icon>

0または1回

┃

┗

<large-icon>

0または1回

┣

<distributable>

0または1回

┣

<distributable>

0回以上

┣

<context-param>

0回以上

┣

<context-param>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<param-name>

1回

┃

┣

<param-name>

1回

┃

┗

<param-value>

1回

┃

┗

<param-value>

1回

┣

<filter-mapping>

0回以上

┣

<filter-mapping>

0回以上

┃

┣

<filter-name>

1回

┃

┣

<filter-name>

1回

┃

┣

<url-pattern>※1

1回以上

┃

┣

<url-pattern>※1

1回以上

┃

┣

<servlet-name>※1

1回以上

┃

┣

<servlet-name>※1

1回以上

┃

┗

<dispatcher>

0または4回以下

┃

┗

<dispatcher>

0または4回以下

┣

<listener>

0回以上

┣

<listener>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<icon>

0回以上

┃

┣

<icon>

0回以上

┃

┃

┣

<small-icon>

0または1回

┃

┃

┣

<small-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┗

<listener-class>

1回

┃

┗

<listener-class>

1回

┃

−

−

┃

(省略)

−

┣

<session-config>

0回以上

┣

<session-config>

0回以上

┃

┗

<session-timeout>

0または1回

┃

┗

<session-timeout>

0または1回

┣

<mime-mapping>

0回以上

┣

<mime-mapping>

0回以上

┃

┣

<extension>

1回

┃

┣

<extension>

1回

┃

┗

<mime-type>

1回

┃

┗

<mime-type>

1回

┣

<welcome-file-list>

0回以上

┣

<welcome-file-list>

0回以上

┃

┗

<welcome-file>

1回以上

┃

┗

<welcome-file>

1回以上

┣

<error-page>

0回以上

┣

<error-page>

0回以上

┃

┣

<error-code>※2

1回

┃

┣

<error-code>※2

1回

┃

┣

<exception-type>※2

1回

┃

┣

<exception-type>※2

1回

┃

┗

<location>

1回

┃

┗

<location>

1回

┣

<jsp-config>

0回以上

┣

<jsp-config>

0回以上

┃

┣

<taglib>

0回以上

┃

┣

<taglib>

0回以上

┃

┃

┣

<taglib-uri>

1回

┃

┃

┣

<taglib-uri>

1回

┃

┃

┗

<taglib-location>

1回

┃

┃

┗

<taglib-location>

1回

┃

┗

<jsp-property-group>

0回以上

┃

┗

<jsp-property-group>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<icon>

0回以上

┃

┣

<icon>

0回以上

┃

┃

┣

<small-icon>

0または1回

┃

┃

┣

<small-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┣

<url-pattern>

1回以上

┃

┣

<url-pattern>

1回以上

┃

┣

<el-ignored>

0または1回

┃

┣

<el-ignored>

0または1回

┃

┣

<page-encoding>

0または1回

┃

┣

<page-encoding>

0または1回

┃

┣

<scripting-invalid>

0または1回

┃

┣

<scripting-invalid>

0または1回

┃

┣

<is-xml>

0または1回

┃

┣

<is-xml>

0または1回

┃

┣

<include-prelude>

0回以上

┃

┣

<include-prelude>

0回以上

┃

┗

<inclede-coda>

0回以上

┃

┣

<inclede-coda>

0回以上

┃

┣

<deferred-syntax-allowed-as-literal>

0または1回

┃

┣

<deferred-syntax-allowed-as-literal>

0または1回

┃

┗

<trim-directive-whitespaces>

0または1回

┃

┗

<trim-directive-whitespaces>

0または1回

┣

<security-constraint>

0回以上

┣

<security-constraint>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<web-resource-collection>

1回以上

┃

┣

<web-resource-collection>

1回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<url-pattern>

1回以上

┃

┃

┣

<url-pattern>

1回以上

┃

┃

┗

<http-method>

0回以上

┃

┃

┗

<http-method>

0回以上

┃

┣

<auth-constraint>

0または1回

┃

┣

<auth-constraint>

0または1回

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┗

<role-name>

0回以上

┃

┃

┗

<role-name>

0回以上

┃

┣

<user-data-constraint>

0または1回

┃

┗

<user-data-constraint>

0または1回

┃

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┃

┗

<transport-guarantee>

1回

┃

┗

<transport-guarantee>

1回

┃

┗

<original-name>

1回

┃

−

−

┣

<login-config>

0回以上

┣

<login-config>

0回以上

┃

┣

<auth-method>

0または1回

┃

┣

<auth-method>

0または1回

┃

┣

<realm-name>

0または1回

┃

┣

<realm-name>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┣

<form-login-page>

1回

┃

┣

<form-login-page>

1回

┃

┗

<form-error-page>

1回

┃

┗

<form-error-page>

1回

┣

<security-role>

0回以上

┣

<security-role>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<role-name>

1回

┃

┗

<role-name>

1回

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<env-entry>

0回以上

┣

<env-entry>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-type>

0または1回

┃

┣

<env-entry-type>

0または1回

┃

┣

<env-entry-value>

1回

┃

┣

<env-entry-value>

0または1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<ejb-ref>

0回以上

┣

<ejb-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<home>

0または1回

┃

┣

<home>

0または1回

┃

┣

<remote>

0または1回

┃

┣

<remote>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<ejb-local-ref>

0回以上

┣

<ejb-local-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<local-home>

0または1回

┃

┣

<local-home>

0または1回

┃

┣

<local>

0または1回

┃

┣

<local>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┃

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<resource-ref>

0回以上

┣

<resource-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<res-ref-name>

1回

┃

┣

<res-ref-name>

1回

┃

┣

<res-type>

0または1回

┃

┣

<res-type>

0または1回

┃

┣

<res-auth>

0または1回

┃

┣

<res-auth>

0または1回

┃

┣

<res-sharing-scope>

0または1回

┃

┣

<res-sharing-scope>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┣

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<resource-env-ref>

0回以上

┣

<resource-env-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-type>

0または1回

┃

┣

<resource-env-ref-type>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┣

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┃

┣

<linked-queue>

0または1回

┃

−

−

┃

┃

┣

<resource-adapter>

1回

┃

−

−

┃

┃

┗

<queue>

1回

┃

−

−

┃

┗

<linked-adminobject>

0または1回

┃

−

−

┃

┣

<resourceadapter-name>

1回

┃

−

−

┃

┗

<adminobject-name>

1回

┃

−

−

┣

<persistence-context-ref>

0回以上

┣

<persistence-context-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<persistence-context-ref-name>

1回

┃

┣

<persistence-context-ref-name>

1回

┃

┣

<persistence-unit-name>

0または1回

┃

┣

<persistence-unit-name>

0または1回

┃

┣

<persistence-context-type>

0または1回

┃

┣

<persistence-context-type>

0または1回

┃

┣

<persistence-property>

0回以上

┃

┣

<persistence-property>

0回以上

┃

┃

┣

<name>

1回

┃

┃

┣

<name>

1回

┃

┃

┗

<value>

1回

┃

┃

┗

<value>

1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<persistence-unit-ref>

0回以上

┃

<persistence-unit-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<persistence-unit-ref-name>

1回

┃

┣

<persistence-unit-ref-name>

1回

┃

┣

<persistence-unit-name>

0または1回

┃

┣

<persistence-unit-name>

0または1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<post-construct>

0回以上

┣

<post-construct>

0回以上

┃

┣

<lifecycle-callback-class>

0または1回

┃

┣

<lifecycle-callback-class>

0または1回

┃

┗

<lifecycle-callback-method>

1回

┃

┗

<lifecycle-callback-method>

1回

┣

<pre-destroy>

0回以上

┣

<pre-destroy>

0回以上

┃

┣

<lifecycle-callback-class>

0または1回

┃

┣

<lifecycle-callback-class>

0または1回

┃

┗

<lifecycle-callback-method>

1回

┃

┗

<lifecycle-callback-method>

1回

┣

<locale-encoding-mapping-list>

0回以上

┗

<locale-encoding-mapping-list>

0回以上

┃

┗

<locale-encoding-mapping>

1回以上

┗

<locale-encoding-mapping>

1回以上

┃

┣

<locale>

1回

┣

<locale>

1回

┃

┗

<encoding>

1回

┗

<encoding>

1回

┗

<runtime>

0または1回

−

−

┗

<context-root>

1回

−

−

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

−:対応するタグがありません。または,対応するタグがないか,タグを省略しているため,出現パターンの説明を省略しています。

(省略):タグを省略しています。

注※1

<url-pattern>と<servlet-name>のどちらか一つまたは両方を指定します。

注※2

<error-code>と<exception-type>のどちらか一つを指定します。

(4) Servlet3.0の場合

WAR属性ファイル

Deployment Descriptor

タグ名

出現パターン

タグ名

出現パターン

<hitachi-war-property>

1回

<web-app>

1回

┣

<description>

0回以上

┣

<description>

0回以上

┣

<display-name>

1回以上

┣

<display-name>

0回以上

┣

<icon>

0回以上

┣

<icon>

0回以上

┃

┣

<small-icon>

0または1回

┃

┣

<small-icon>

0または1回

┃

┗

<large-icon>

0または1回

┃

┗

<large-icon>

0または1回

┣

<distributable>

0または1回

┣

<distributable>

0回以上

┣

<context-param>

0回以上

┣

<context-param>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<param-name>

1回

┃

┣

<param-name>

1回

┃

┗

<param-value>

1回

┃

┗

<param-value>

1回

┣

<filter-mapping>

0回以上

┣

<filter-mapping>

0回以上

┃

┣

<filter-name>

1回

┃

┣

<filter-name>

1回

┃

┣

<url-pattern>※1

1回以上

┃

┣

<url-pattern>※1

1回以上

┃

┣

<servlet-name>※1

1回以上

┃

┣

<servlet-name>※1

1回以上

┃

┗

<dispatcher>

0または5回以下

┃

┗

<dispatcher>

0または5回以下

┣

<listener>

0回以上

┣

<listener>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<icon>

0回以上

┃

┣

<icon>

0回以上

┃

┃

┣

<small-icon>

0または1回

┃

┃

┣

<small-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┗

<listener-class>

1回

┃

┗

<listener-class>

1回

┃

−

−

┃

(省略)

−

┣

<session-config>

0回以上

┣

<session-config>

0回以上

┃

┗

<session-timeout>

0または1回

┃

┗

<session-timeout>

0または1回

┣

<mime-mapping>

0回以上

┣

<mime-mapping>

0回以上

┃

┣

<extension>

1回

┃

┣

<extension>

1回

┃

┗

<mime-type>

1回

┃

┗

<mime-type>

1回

┣

<welcome-file-list>

0回以上

┣

<welcome-file-list>

0回以上

┃

┗

<welcome-file>

1回以上

┃

┗

<welcome-file>

1回以上

┣

<error-page>

0回以上

┣

<error-page>

0回以上

┃

┣

<error-code>※2

どちらか1回,またはどちらもなし

┃

┣

<error-code>※2

どちらか1回,またはどちらもなし

┃

┣

<exception-type>※2

どちらか1回,またはどちらもなし

┃

┣

<exception-type>※2

どちらか1回,またはどちらもなし

┃

┗

<location>

1回

┃

┗

<location>

1回

┣

<jsp-config>

0回以上

┣

<jsp-config>

0回以上

┃

┣

<taglib>

0回以上

┃

┣

<taglib>

0回以上

┃

┃

┣

<taglib-uri>

1回

┃

┃

┣

<taglib-uri>

1回

┃

┃

┗

<taglib-location>

1回

┃

┃

┗

<taglib-location>

1回

┃

┗

<jsp-property-group>

0回以上

┃

┗

<jsp-property-group>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<icon>

0回以上

┃

┣

<icon>

0回以上

┃

┃

┣

<small-icon>

0または1回

┃

┃

┣

<small-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┃

┗

<large-icon>

0または1回

┃

┣

<url-pattern>

1回以上

┃

┣

<url-pattern>

1回以上

┃

┣

<el-ignored>

0または1回

┃

┣

<el-ignored>

0または1回

┃

┣

<page-encoding>

0または1回

┃

┣

<page-encoding>

0または1回

┃

┣

<scripting-invalid>

0または1回

┃

┣

<scripting-invalid>

0または1回

┃

┣

<is-xml>

0または1回

┃

┣

<is-xml>

0または1回

┃

┣

<include-prelude>

0回以上

┃

┣

<include-prelude>

0回以上

┃

┗

<inclede-coda>

0回以上

┃

┣

<inclede-coda>

0回以上

┃

┣

<deferred-syntax-allowed-as-literal>

0または1回

┃

┣

<deferred-syntax-allowed-as-literal>

0または1回

┃

┣

<trim-directive-whitespaces>

0または1回

┃

┣

<trim-directive-whitespaces>

0または1回

┃

┣

<default-content-type>

0または1回

┃

┣

<default-content-type>

0または1回

┃

┣

<buffer>

0または1回

┃

┣

<buffer>

0または1回

┃

┗

<error-on-undeclared-namespace>

0または1回

┃

┗

<error-on-undeclared-namespace>

0または1回

┣

<security-constraint>

0回以上

┣

<security-constraint>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<display-name>

0回以上

┃

┣

<web-resource-collection>

1回以上

┃

┣

<web-resource-collection>

1回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<web-resource-name>

1回

┃

┃

┣

<url-pattern>

0回以上

┃

┃

┣

<url-pattern>

1回以上

┃

┃

┣

<http-method>※3

0回以上

┃

┃

┣

<http-method>※3

0回以上

┃

┃

┗

<http-method-omission>※3

0回以上

┃

┃

┗

<http-method-omission>※3

0回以上

┃

┣

<auth-constraint>

0または1回

┃

┣

<auth-constraint>

0または1回

┃

┃

┣

<description>

0回以上

┃

┃

┣

<description>

0回以上

┃

┃

┗

<role-name>

0回以上

┃

┃

┗

<role-name>

0回以上

┃

┣

<user-data-constraint>

0または1回

┃

┗

<user-data-constraint>

0または1回

┃

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┃

┗

<transport-guarantee>

1回

┃

┗

<transport-guarantee>

1回

┃

┗

<original-name>

1回

┃

−

−

┣

<login-config>

0回以上

┣

<login-config>

0回以上

┃

┣

<auth-method>

0または1回

┃

┣

<auth-method>

0または1回

┃

┣

<realm-name>

0または1回

┃

┣

<realm-name>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┗

<form-login-config>

0または1回

┃

┣

<form-login-page>

1回

┃

┣

<form-login-page>

1回

┃

┗

<form-error-page>

1回

┃

┗

<form-error-page>

1回

┣

<security-role>

0回以上

┣

<security-role>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<role-name>

1回

┃

┗

<role-name>

1回

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<env-entry>

0回以上

┣

<env-entry>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-name>

1回

┃

┣

<env-entry-type>

0または1回

┃

┣

<env-entry-type>

0または1回

┃

┣

<env-entry-value>

1回

┃

┣

<env-entry-value>

0または1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<ejb-ref>

0回以上

┣

<ejb-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<home>

0または1回

┃

┣

<home>

0または1回

┃

┣

<remote>

0または1回

┃

┣

<remote>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<ejb-local-ref>

0回以上

┣

<ejb-local-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-name>

1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<ejb-ref-type>

0または1回

┃

┣

<local-home>

0または1回

┃

┣

<local-home>

0または1回

┃

┣

<local>

0または1回

┃

┣

<local>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┣

<ejb-link>

0または1回

┃

┃

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

−

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

−

┣

<resource-ref>

0回以上

┣

<resource-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<res-ref-name>

1回

┃

┣

<res-ref-name>

1回

┃

┣

<res-type>

0または1回

┃

┣

<res-type>

0または1回

┃

┣

<res-auth>

0または1回

┃

┣

<res-auth>

0または1回

┃

┣

<res-sharing-scope>

0または1回

┃

┗

<res-sharing-scope>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┣

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<linked-to>

0または1回

┃

−

−

┣

<resource-env-ref>

0回以上

┣

<resource-env-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-name>

1回

┃

┣

<resource-env-ref-type>

0または1回

┃

┗

<resource-env-ref-type>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┃

┣

<linked-queue>

0または1回

┃

−

−

┃

┃

┣

<resource-adapter>

1回

┃

−

−

┃

┃

┗

<queue>

1回

┃

−

−

┃

┗

<linked-adminobject>

0または1回

┃

−

−

┃

┣

<resourceadapter-name>

1回

┃

−

−

┃

┗

<adminobject-name>

1回

┃

−

−

┣

<persistence-context-ref>

0回以上

┣

<persistence-context-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<persistence-context-ref-name>

1回

┃

┣

<persistence-context-ref-name>

1回

┃

┣

<persistence-unit-name>

0または1回

┃

┣

<persistence-unit-name>

0または1回

┃

┣

<persistence-context-type>

0または1回

┃

┣

<persistence-context-type>

0または1回

┃

┣

<persistence-property>

0回以上

┃

┣

<persistence-property>

0回以上

┃

┃

┣

<name>

1回

┃

┃

┣

<name>

1回

┃

┃

┗

<value>

1回

┃

┃

┗

<value>

1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<persistence-unit-ref>

0回以上

┃

<persistence-unit-ref>

0回以上

┃

┣

<description>

0回以上

┃

┣

<description>

0回以上

┃

┣

<persistence-unit-ref-name>

1回

┃

┣

<persistence-unit-ref-name>

1回

┃

┣

<persistence-unit-name>

0または1回

┃

┣

<persistence-unit-name>

0または1回

┃

┃

−

−

┃

┣

<mapped-name>

0または1回

┃

┗

<injection-target>

0回以上

┃

┗

<injection-target>

0回以上

┃

┣

<injection-target-class>

1回

┃

┣

<injection-target-class>

1回

┃

┗

<injection-target-name>

1回

┃

┗

<injection-target-name>

1回

┣

<post-construct>

0回以上

┣

<post-construct>

0回以上

┃

┣

<lifecycle-callback-class>

0または1回

┃

┣

<lifecycle-callback-class>

0または1回

┃

┗

<lifecycle-callback-method>

1回

┃

┗

<lifecycle-callback-method>

1回

┣

<pre-destroy>

0回以上

┣

<pre-destroy>

0回以上

┃

┣

<lifecycle-callback-class>

0または1回

┃

┣

<lifecycle-callback-class>

0または1回

┃

┗

<lifecycle-callback-method>

1回

┃

┗

<lifecycle-callback-method>

1回

┣

<locale-encoding-mapping-list>

0回以上

┗

<locale-encoding-mapping-list>

0回以上

┃

┗

<locale-encoding-mapping>

1回以上

┗

<locale-encoding-mapping>

1回以上

┃

┣

<locale>

1回

┣

<locale>

1回

┃

┗

<encoding>

1回

┗

<encoding>

1回

┗

<runtime>

0または1回

−

−

┗

<context-root>

1回

−

−

−

−

−

−

−

−

−

−

−

−

−

−

(凡例)

−:対応するタグがありません。または,対応するタグがないか,タグを省略しているため,出現パターンの説明を省略しています。

(省略):タグを省略しています。

注※1

<url-pattern>と<servlet-name>のどちらか一つまたは両方を指定します。

注※2

<error-code>と<exception-type>のどちらか一つを指定するか,両方とも指定しません。

注※3

<http-method>と<http-method-omission>のどちらか一つを指定します。それぞれのタグは0回以上指定できます。