Hi:
Does every J2EE server support symbolic link and what is the benefit from it? for flexibe and dynamic?
Thanks!
John Lee
-
Why to use symbolic link to the real JNDI localtion? (1 messages)
- Posted by: John Lee
- Posted on: February 08 2003 11:06 EST
Threaded Messages (1)
- Why to use symbolic link to the real JNDI localtion? by Lasse Koskela on February 08 2003 15:47 EST
-
Why to use symbolic link to the real JNDI localtion?[ Go to top ]
- Posted by: Lasse Koskela
- Posted on: February 08 2003 15:47 EST
- in response to John Lee
If by "symbolic link" you mean the JNDI name mapping (resource-ref) performed with the deployment descriptor, then the answer is yes, it's in the spec and vendors generally support it.
The benefit of using the mapping is deployment time flexibility, meaning that if for some reason the application assembler cannot use the same JNDI name as in the development environment, she can assign another JNDI name without modifying and recompiling the source code. Pretty important flexibility...