ApplicationClient

The application-client element is the root element of an application client deployment descriptor. The application client deployment descriptor describes the EJB components and external resources referenced by the application client.

Inherits from type CompatibilityDescriptionGroup and adds the following.

Attributes Summary
version : String@since J2EE1.
resourceRefs : ResourceRef * Contains declarations of the application clients's references to an external resources.
environmentProps : EnvEntry * The env-entry element contains the declaration of an application client's environment entries.
ejbReferences : EjbRef * Contains a list of ejb-ref elements used for the declaration of a reference to an enterprisebean's home.
resourceEnvRefs : ResourceEnvRef * The resource-env-ref element contains a declaration of an application client's reference to an administered object associated with a resource in the application client's environment.
callbackHandler : JavaClass@ A class provided by the application.
serviceRefs : ServiceRef * @since J2EE1.
messageDestinationRefs : MessageDestinationRef * @since J2EE1.
messageDestinations : MessageDestination * @since J2EE1.

Attribute Details

version    -    @since J2EE1.4The required value for the version is 1.4.
     data type:  String
     default Value:   unspecified



resourceRefs    -    Contains declarations of the application clients's references to an external resources.
     data type: ResourceRef*



environmentProps    -    The env-entry element contains the declaration of an application client's environment entries. Each declaration consists of an optional description, the name of the environment entry, and an optional value.
     data type: EnvEntry*



ejbReferences    -    Contains a list of ejb-ref elements used for the declaration of a reference to an enterprisebean's home.
     data type: EjbRef*



resourceEnvRefs    -    The resource-env-ref element contains a declaration of an application client's reference to an administered object associated with a resource in the application client's environment. It consists of an optionaldescription, the resource environment reference name, and an indication of the resource environment reference type expected by the application client code.Used in: application-clientExample:<resource-env-ref> <resource-env-ref-name>jms/StockQueue</resource-env-ref-name> <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type></resource-env-ref>
     data type: ResourceEnvRef*



callbackHandler    -    A class provided by the application. The class must have a no args constructor and must implement the javax.security.auth.callback.CallbackHandler interface. The class will be instantiated by the application client container and used by the container to collect authentication information from the user.
     data type: JavaClass@



serviceRefs    -    @since J2EE1.4
     data type: ServiceRef*



messageDestinationRefs    -    @since J2EE1.4The message-destination-ref-name element specifies the name of a message destination reference; its value is the message destination reference name used in the application client code. The name is a JNDI name relative to the java:comp/env context and must be unique within an application client.
     data type: MessageDestinationRef*



messageDestinations    -    @since J2EE1.4
     data type: MessageDestination*


Copyright IBM Corp. 1997-2004