2.2.2 Details of the EJB-JAR property
This subsection describes the details of the EJB-JAR property of cosminexus.xml with reference to each tag.
Note that the tag details are described in the order mentioned in 2.1 Specifications of the Cosminexus application property file (cosminexus.xml).
- Organization of this subsection
(1) <ejb-jar>
- Description
-
This tag defines the EJB-JAR.
- Specifiable value
-
None.
- Dependency on other tags
-
None.
- Tag omission
-
You can omit this tag.
- Value omission
-
You cannot omit the value of this tag.
(2) <module-name>
- Description
-
Key for identifying the EJB-JAR.
The set value is specified according to the following conditions:
- For an application that includes application.xml
-
-
Common to the archive format and exploded archive format
This tag specifies the character string specified in <application>-<module>-<ejb> in the application.xml.
-
- For an application that does not include application.xml
-
-
Archive format (cjimportapp command (-f/-d))
This tag specifies the location of an EJB-JAR file within the J2EE application using the relative path from the EAR root.
-
Exploded archive format (cjimportapp command (-a))
This tag specifies the value of an EJB-JAR directory obtained by replacing the _jar at the end of the relative path from the application directory with .jar.
-
- Precautions when using the relative path
-
-
Use a forward slash (/) as the path delimiter.
-
You cannot specify a forward slash (/) at the beginning of the path string.
-
You cannot specify "./", "../", and "//" in the path string.
-
- Specifiable value
-
There are no limitations for the input value.
- Dependency on other tags
-
None.
- Tag omission
-
You cannot omit the value of this tag.
- Value omission
-
You cannot omit the value of this tag.
(3) <security-role>
- Description
-
This tag defines the security role.
- Specifiable value
-
None.
- Dependency on other tags
-
None.
- Tag omission
-
You can omit this tag.
- Value omission
-
You cannot omit the value of this tag.
(4) <role-name>
- Description
-
This tag specifies the role name.
- Specifiable value
-
There are no limitations for the input value.
- Dependency on other tags
-
None.
- Tag omission
-
You cannot omit the value of this tag.
- Value omission
-
You cannot omit the value of this tag.
(5) <linked-to>
- Description
-
This tag specifies the role name defined by the cjaddsec command.
- Specifiable value
-
None.
- Dependency on other tags
-
None.
- Tag omission
-
You can omit this tag.
- Value omission
-
You cannot omit the value of this tag.