Resources/JNDI/JCA FAQ
Resin 3.0

Features
Installation
Configuration
Web Applications
IOC/AOP
Resources
JSP
Servlets and Filters
Portlets
Databases
Admin (JMX)
CMP
EJB
Amber
EJB 3.0
Security
XML and XSLT
XTP
JMS
Performance
Protocols
Third-party
Troubleshooting/FAQ

Library
Tutorials
Resource FAQ
Tutorials
Resources
JSP

Can I link one JNDI name to another?

My application is coded to find a UserTransaction using the name "java:comp/env/UserTransaction", is there some way that I can link that name to "java:comp/UserTransaction", like a symbolic link on a Unix filesystem?

The <jndi-link> tag can be used for this purpose.

<jndi-link>
  <jndi-name>java:comp/env/UserTransaction</jndi-name>
  <foreign-name>java:comp/UserTransaction</foreign-name>
</jndi-link>


Tutorials
Resources
JSP
Copyright © 1998-2005 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.