Hi:
I have been puzzled by this function of j2sdkee1.3.1 support JNDI lookup "java:comp/env" from client. I always think that "java:comp/env" namespace can only be access by the application server self for it is a private namespace. The weblogic and websphere doest support this.
Why?
Regards!
John Lee
-
Why j2sdkee1.3.1 support JNDI lookup "java:comp/env" from remot (1 messages)
- Posted by: John Lee
- Posted on: February 25 2003 07:49 EST
Threaded Messages (1)
- about java:comp/env by Dieter Cailliau on March 02 2003 18:37 EST
-
about java:comp/env[ Go to top ]
- Posted by: Dieter Cailliau
- Posted on: March 02 2003 18:37 EST
- in response to John Lee
i think java:comp/env means: to resovle this name, look into the deployment descriptor of the application. So even if this part of the application runs on the client, the reference is still resolved using the deployment descriptor.
It's like each application can name the remote things it needs whatever it likes to call them. The deployment descriptor contains the real jndi name of the applications logical names.
This means the deployment descriptor content is also available on the client machine.