Scope: Class
Multiplicity
(0..1): You can use this tag zero or
one time in the Java™ source file.
Purpose
This tag defines a resource reference with
the specified name, type, authentication
(auth), description, and scope.
Applies to servlets.
Parameters
Parameter |
Type |
Applicability |
Description |
Mandatory |
name |
text |
|
The name of the resource reference. |
true |
type |
text |
|
The type of the referenced resource. |
true |
auth |
text |
|
The authentication for the resource. You must specify
one of the following attributes:
|
true |
description |
text |
|
An optional description for the resource reference. |
false |
scope |
text |
|
The scope of the resource. You
must specify one of the following attributes:
|
false |
jndi-name |
text |
|
The physical jndi-name of the resource. |
false |