3.3.3 Mapping with cosminexus.xml
The following table describes the correspondence between the HITACHI EJB-JAR Property file and cosminexus.xml:
|
HITACHI EJB-JAR property file |
cosminexus.xml |
|||||||
|---|---|---|---|---|---|---|---|---|
|
Tag name |
Occurrence pattern |
Tag name |
Occurrence pattern |
|||||
|
-- |
-- |
<ejb-jar> |
Zero or more times |
|||||
|
-- |
-- |
<module-name>#1 |
Once |
|||||
|
<security-role> |
Zero or more times |
<security-role> |
Zero or more times |
|||||
|
<description> |
Zero or more times |
-- |
-- |
|||||
|
<role-name> |
Once |
<role-name> |
Once |
|||||
|
<linked-to> |
Zero or once |
<linked-to>#2 |
Once |
|||||
|
<interceptor-binding> |
Zero or more times |
-- |
-- |
|||||
|
<description> |
Zero or more times |
-- |
-- |
|||||
|
<ejb-name> |
Once |
-- |
-- |
|||||
|
<interceptor-class> |
Zero or more times |
-- |
-- |
|||||
|
(Omitted) |
-- |
-- |
-- |
|||||
|
-- |
-- |
-- |
-- |
|||||
- 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 <application>-<module>-<ejb> of the application.xml and does not exist in the property file. However, the tag is unique to cosminexus.xml. This tag is the key for identifying the EJB-JAR.
- #2
-
The occurrence pattern is different from the property file because only the elements to be customized are coded in cosminexus.xml.