@web.ejb-local-ref

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 J2EE 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
  • Entity
  • Session
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
Related reference
@web.ejb-ref
@web.env-entry
@web.filter
@web.filter-init-param
@web.filter-mapping
@web.listener
@web.resource-env-ref
@web.resource-ref
@web.security-role
@web.security-role-ref
@web.servlet
@web.servlet-init-param
@web.servlet-mapping
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.