Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: jms-max-messages-load
- Next: jsp-config

## jndi-name

Specifies the absolute `jndi-name` of a URL resource or a resource.

For entity beans and session beans, this value specifies the global JNDI name of the `EJBHome` object. It is only needed if the entity or session bean exposes a remote view.

For JMS message-driven beans, this is the JNDI name of the JMS resource from which the message-driven bean consumes JMS messages. This information is alternatively specified within the activation-config subelement of the mdb-resource-adapter element. For more information about JMS resources, see Chapter 14, Using the Java Message Service.

### Superelements

ejb-ref, message-destination, resource-env-ref, resource-ref (`sun-web.xml`, `sun-ejb-jar.xml`, `sun-application-client.xml`); cmp-resource, ejb, mdb-connection-factory (`sun-ejb-jar.xml`)

### Subelements

none - contains data

- Previous: jms-max-messages-load
- Next: jsp-config

- © 2010, Oracle Corporation and/or its affiliates