JNDI Question

Hello All,

I'm new to JNDI and was reading a tutorial when I came across this line

"you can inject any service object from the JNDI using the object's JNDI name. Both global (java:/) and local (java:comp/env) JNDI trees are searched "

I just want to know about { global (java:/) } and { local (java:comp/env) }.

1) What do they represent ? ( what do they mean )

2) Are these naming conventions followed by programmers?

Waiting for a favorable reply.

Regards.

Hasnain Javed Khan.

[537 byte] By [HJaveda] at [2007-11-26 16:31:36]
# 1
You could take a look here http://java.sun.com/products/jndi/tutorial/beyond/misc/policy.html . Hope it helps you.
jayantkdasa at 2007-7-8 22:56:08 > top of Java-index,Core,Core APIs...
# 2
Respected Sir,Thank you very much for your kind response. The link you provided was helpfull. Really appreciated it.Best regards.Hasnain Javed Khan.
HJaveda at 2007-7-8 22:56:08 > top of Java-index,Core,Core APIs...