References
References are logical names used to locate external resources for enterprise applications and are defined in the application's deployment descriptor file. At deployment, the references are bound to the physical location (global JNDI name) of the resource in the target operational environment.
WAS supports the following types of references:
- An EJB reference is a logical name used to locate the home interface of an enterprise bean.
- A resource reference is a logical name used to locate a connection factory object.
These objects define connections to external resources such as databases and messaging systems. The container makes references available in a JNDI naming subcontext. By convention, references are organized as follows:
Reference Subcontext EJB java:comp/env/ejb JDBC DataSource java:comp/env/jdbc JMS connection factories java:comp/env/jms JavaMail connection factories java:comp/env/mail URL connection factories java:comp/env/url
Developing applications that use JNDI
EJB reference assembly settings