For each message destination reference and resource environment reference, specify the JNDI name under which the resource is known in the runtime environment.
Binding a message destination reference or resource environment reference maps a resource dependency of an enterprise bean to an actual resource available in the server runtime environment. At a minimum, you can achieve this mapping by specifying the JNDI name under which the message destination reference or resource environment reference is known in the runtime environment. By default, the JNDI name is retrieved from pre-existing bindings, or set to the value of the mapped-name specified in the message destination reference definition.
If a JNDI name mapping for a message destination reference or resource environment reference is defined in an ibm-ejb-jar-bnd.xml file in the bundle, the corresponding JNDI name is displayed in the JNDI Name column for that reference, otherwise the column is empty. You can modify any existing mappings, and specify new ones, as required, by entering the appropriate values in the JNDI Name column.
To view this panel in the
administrative console, click one of the following paths:
Note: The Bind EJB message destination references to administered objects wizard step and the EJB message destination references property are visible only if the OSGi application contains at least one JMS message destination reference or resource environment reference, defined either in an ejb-jar.xml file, or through an @Resource annotation on an enterprise bean.
General Properties
- Bundle symbolic name
- The non-localizable name for this bundle.
- Bundle version
- The version of this bundle.
The bundle symbolic name, together with the bundle version, uniquely identifies a bundle.
- EJB name
- The name of the enterprise bean that declares the message destination reference or resource environment reference.
- Reference name
- The name of a message destination reference or resource environment reference that is used in the application, if applicable, and is declared in the deployment descriptor of the EJB bundle.
- Resource Type
- The type of the message destination reference or resource environment
reference.
You can use this panel to specify bindings for any
message-destination-ref (message
destination reference) resource or
resource-env-ref (resource
environment reference) resource, as defined in the Java™ specification JSR-250: Common Annotations
for the Java Platform. For example,
the following are all types of
message-destination-ref resource:
- Default messaging JMS queues destinations
- Default messaging JMS topic destinations
- JMS queue destination for WebSphere® MQ
- JMS topic destination for WebSphere MQ
- JNDI name
- The Java Naming and Directory Interface (JNDI) name of the message destination or resource environment that is the mapping target of the resource reference.