Hitachi

uCosminexus Application Server Application and Resource Definition Reference Guide


3.4.3 Mapping with cosminexus.xml

The following table describes the correspondence between the HITACHI Session Bean Property file and cosminexus.xml:

HITACHI Session Bean Property file

cosminexus.xml

Tag name

Occurrence pattern

Tag name

Occurrence pattern

<hitachi-session-bean-property>

Once

<session>

Zero or more times

--

--

<ejb-name>#1

Once

<security-identity>

Zero or once

<security-identity>

Zero or once

<run-as>

Once

<run-as>

Once

<description>

Zero or more times

--

--

<role-name>

Once

--

--

<user-name>

Once

<user-name>

Once

<ejb-ref>

Zero or more times

--

--

<description>

Zero or more times

--

--

<ejb-ref-name>

Once

--

--

<ejb-ref-type>

Once

--

--

<home>

Once

--

--

<remote>

Once

--

--

<ejb-link>

Zero or once

--

--

<resource-ref>

Zero or more times

<resource-ref>

Zero or more times

<description>

Zero or more times

--

--

<res-ref-name>

Once

<res-ref-name>

Once

<res-type>

Zero or once

--

--

<res-auth>

Zero or once

--

--

<res-sharing-scope>

Zero or once

--

--

<linked-to>

Zero or once

<linked-to>#2

Once

<resource-env-ref>

Zero or more times

<resource-env-ref>

Zero or more times

<description>

Zero or more times

--

--

<resource-env-ref-name>

Once

<resource-env-ref-name>

Once

<resource-env-ref-type>

Zero or once

--

--

<linked-queue>

Zero or once

<linked-queue>#2

Once

<resource-adapter>#3

Once

<resource-adapter>

Once

<queue>#3

Once

<queue>

Once

<linked-adminobject>

Zero or once

<linked-adminobject>#2

Once

<resourceadapter-name>#4

Once

<resourceadapter-name>

Once

<adminobject-name>#4

Once

<adminobject-name>

Once

<linked-to>

Zero or once

<linked-to>#2

Once

<runtime>

Zero or once

--

--

<lookup-name>

Once

<lookup-name>#2

Zero or once

<optional-name>

Zero or once

<optional-name>

Zero or once

<local-optional-name>

Zero or once

<local-optional-name>

Zero or once

<maximum-sessions>

Once

<maximum-sessions>#2

Zero or once

<stateless>#5

Either one once or neither

<stateless>#2

Zero or once

<pooled-instance>

Once

<pooled-instance>#2

Zero or once

<minimum>

Once

<minimum>#2

Zero or once

<maximum>

Once

<maximum>#2

Zero or once

<instance-timeout>

Zero or once

<instance-timeout>

Zero or once

<stateful>#5

Either one once or neither

<stateful>#2

Zero or once

<maximum-active-sessions>

Once

<maximum-active-sessions>#2

Zero or once

<inactivity-timeout>

Once

<inactivity-timeout>#2

Zero or once

<removal-timeout>

Once

<removal-timeout>#2

Zero or once

<enable-scheduling>

Zero or once

<enable-scheduling>

Zero or once

<pass-by-reference>

Zero or once

<pass-by-reference>

Zero or once

<scheduling>

Zero or once

<scheduling>

Zero or once

<queue-name>

Once

<queue-name>#2

Zero or once

<parallel-count>

Once

<parallel-count>#2

Zero or once

<queue-length>

Zero or once

<queue-length>

Zero or once

<front-ejb>

Zero or once

<front-ejb>

Zero or once

<start-order>

Zero or once

<start-order>

Zero or once

<ejb-method-observation-timeout>

Zero or more times

<ejb-method-observation-timeout>

Zero or more times

<method>

One or more times

<method>

One or more times

<description>

Zero or once

--

--

<method-intf>

Zero or once

<method-intf>

Zero or once

<method-name>

Once

<method-name>

Once

<method-params>

Zero or once

<method-params>

Zero or once

<method-param>

Zero or more times

<method-param>

Zero or more times

<method-observation-timeout>

Once

<method-observation-timeout>

Once

<ejb-transaction-timeout>

Zero or more times

<ejb-transaction-timeout>

Zero or more times

<method>

One or more times

<method>

One or more times

<description>

Zero or once

--

--

<method-intf>

Zero or once

<method-intf>

Zero or once

<method-name>

Once

<method-name>

Once

<method-params>

Zero or once

<method-params>

Zero or once

<method-param>

Zero or more times

<method-param>

Zero or more times

<transaction-timeout>

Once

<transaction-timeout>

Once

--

--

--

--

Legend:

--: No corresponding tag. Alternatively, the description of the occurrence pattern is omitted because the corresponding tag does not exist or the tag is omitted.

#1

This tag corresponds to <ejb-jar>-<enterprise-beans>-<session>-<ejb-name> of ejb-jar.xml and does not exist in the property file. This tag is the key for identifying SessionBeans.

#2

The occurrence pattern is different from the property file because only the elements to be customized are coded in cosminexus.xml.

#3

Enter the resource adapter display name in resource-adapter and the QUEUE name in <queue>.

#4

Enter the resource adapter display name in <resourceadapter-name> and the administered object name in <adminobject-name>.

#5

In 08-70 or earlier versions, specify either stateless or stateful.