@ejb.home

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 home interface of entity or session beans. Applies to entity and session beans.

Parameters

Parameter Type Applicability Description Mandatory
extends text Declares which interface the generated home interface extends. The default value is
  • javax.ejb.EJBHome
false
local-extends text Session and Entity beans, EJB 2.0 Declares which interface the generated local home interface extends. The default value is
  • javax.ejb.EJBHome
.
false
generate boolean   Declares which home interfaces to generate. 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 home interface. false
local-class text Session and Entity beans, EJB 2.0 The fully qualified name of the local home interface. false
remote-pattern text   The pattern to be used in determining the unqualified name of the remote home 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 home 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 home interfaces. Used where -class and -pattern tags for the bean are absent . false
remote-package text   The package that the remote home interface should be in. Use this only where remote-class is not present. Use <packageSubstitution/> to specify the package where the interface will reside. false
local-package text   The package that the local home interface should be in. Use this 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 home interfaces are to be placed in. Use this only where -class and -pattern is 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-method
@ejb.interface
@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.