Scope: Class
Multiplicity
(0..1): You can use this tag
zero or one time in the Java™ source
file.
Purpose
This tag defines a local EJB reference
with the specified name, type, home
interface name, local interface name, link
name, and description. The value of
the link parameter must be the ejb-name of an
enterprise bean in the same Java EE
application unit. Applies to servlets.
Parameters
| Parameter |
Type |
Applicability |
Description |
Mandatory |
| name |
text |
|
The name or the EJB reference. |
false |
| type |
text |
|
The expected type of the
referenced enterprise bean. You must specify one of the following
attributes
|
false |
| home |
text |
|
The home interface of the
referenced EJB. |
false |
| local |
text |
|
The local interface of
the referenced EJB. |
false |
| link |
text |
|
The link to the EJB. |
false |
| description |
text |
|
An optional description for
the ejb-ref. |
false |