@ejb.interface

Scope: Class

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

This tag provides information about the local or remote component interfaces for entity or session Beans. It does not apply to message-driven beans. Applies to both entity and session beans.

Parameters

Parameter Type Applicability Description Mandatory
extends text   Declares which interface the generated remote interface extends. The default value is
  • javax.ejb.EJBObject
false
local-extends text Session and Entity beans, EJB 2.0 Declares which interface the generated local interface extends. The default value is
  • javax.ejb.EJBLocalObject
false
generate text   Specifies which interfaces togenerate. You must specify one of the following attributes:
  • true
  • false
The default value is
  • true
false
remote-class text   The fully qualified name of the remote interface. false
local-class text Session and Entity beans, EJB 2.0 The fully qualified name of the local interface. false
remote-pattern text   The pattern to be used in determining the unqualified name of the remote interface. Use this only if remote-class is not present. false
local-pattern text Session and Entity beans, EJB 2.0 The pattern to be used in determining the unqualified name of the local interface. Use this only if local-class is not present. false
pattern text   The pattern to be used in determining the unqualified name of either local or remote interfaces. Use only where -class and -pattern tags for the bean are absent. false
remote-package text   The package that the remote interface should reside in. Use only where remote-class is not present. Use <packageSubstitution/> to specify the package where the interface will reside. false
local-package text Session and Entity beans, EJB 2.0 The package that the local interface should be placed in. Use only where local-class is not present. Use <packageSubstitution/> to specify the package where the interface will reside. false
package text   The package that the interfaces should be placed in. Use only where -class and -package are not present. Use<packageSubstitution/> to specify the package where the interface will reside. false
Related reference
@ejb.bean
@ejb.create-method
@ejb.ejb-external-ref
@ejb.ejb-ref
@ejb.env-entry
@ejb.facade
@ejb.facade-method
@ejb.finder
@ejb.home
@ejb.home-method
@ejb.interface-method
@ejb.permission
@ejb.persistence
@ejb.persistence (method)
@ejb.pk
@ejb.pk-field
@ejb.relation
@ejb.remote-facade
@ejb.resource-env-ref
@ejb.resource-ref
@ejb.security-identity
@ejb.security-role-ref
@ejb.select
@ejb.session
@ejb.transaction
@ejb.util
@ejb.value-object
@ejb.value-object-method
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.