
Use this procedure to declare the enterprise bean's references to external resources, and to administered objects associated with resources in the enterprise bean's environment.
Resource References
| Property | Description |
|---|---|
|
Resource Reference Name |
The name of the resource manager connection factory reference. This name must be unique within the enterprise bean. The name must be a JNDI name relative to the java:comp/env context. |
|
Resource Type |
The type of the data source. You can choose a standard Java language class or interface. This type is expected to be implemented by the data source. |
|
Resource Authentication |
Choose between Container (the EJB Container will sign on to the resource manager on behalf of the enterprise bean) and Application (the enterprise bean code signs on programmatically to the resource manager). |
|
Resource Sharing Scope |
Specifies whether the connections obtained through this resource manager connection factory reference can be shared. For more information, see Sharing Connections . |
|
Description |
A description of the resource reference. |
Resource Environment References
| Property | Description |
|---|---|
|
Description |
A description of the resource environment reference. |
|
Resource Environment Reference Name |
The name of the resource environment reference. The value of this field must be the environment entry name that is used in the enterprise bean code, and must be unique within the bean. This name must be a JNDI name, relative to the java:comp/env context. |
|
Resource Environment Reference Type |
The type of the resource environment reference. |
The declared reference appears as sub-node under the resource-ref or the resource-env-ref node correspondingly.
To remove a declared reference, select it and choose Remove.