| Parameter | Type | Applicability | Description | Mandatory |
|---|---|---|---|---|
| view-type | text | The view-type of the referenced
bean. You must specify one of the following attributes:
|
true | |
| link | text | Defines an ejb-link to the referenced EJB. The value of the ejb-link element is the name of the target enterprise bean. (It is the name defined in the ejb-name element of the target enterprise bean.) The target enterprise bean can be in any EJB JAR file in the same Java EE application as the referencing application component. | false | |
| ref-name | text | The name by which the referenced bean is referred. For example, reference to the bean, Customer, java:comp/env/ejb/Customer name should be ejb/Customer. The default value is ejb/[ejb-name], where [ejb-name] is the name of the referenced bean. | true | |
| ejb-name | text | The name by which the referenced bean is referred.
For example, reference to the bean, Customer, java:comp/env/ejb/Customer
nameshould be ejb/Customer. The default
value is ejb/[ejb-name], where [ejb-name] is the
name of the referenced bean. [Deprecated.] Use ref-name instead. |
false | |
| type | text | The type of EJB being referenced.
You must specify one of the following attributes:
|
true | |
| home | text | The fully qualified class name of the home interface of the referenced bean. | true | |
| business | text | The fully qualified class name of the business interface (local or remote interface) of the referenced bean. | true | |
| remote | text | Synonym for business parameter.
It only works if the view-type is remote. [Deprecated] |
false |