-
Difference between Context & Initialcontext? (4 messages)
- Posted by: Shyam PRASAD
- Posted on: August 22 2000 07:37 EDT
What is the difference between Context & Initialcontext?Threaded Messages (4)
- Difference between Context & Initialcontext? by Bhavesh Bhammar on August 22 2000 11:14 EDT
- Difference between Context & Initialcontext? by Magesh Lakshmi on August 25 2000 22:35 EDT
- nothing by venkat gautham on July 19 2004 06:39 EDT
- Difference between Context & Initialcontext? by fengliang wu on August 28 2000 15:46 EDT
-
Difference between Context & Initialcontext?[ Go to top ]
- Posted by: Bhavesh Bhammar
- Posted on: August 22 2000 11:14 EDT
- in response to Shyam PRASAD
Context is the root of the JNDI namespace maintained by the server. Use the InitialContext constructor to get the same.
Bhavesh Bhammar -
Difference between Context & Initialcontext?[ Go to top ]
- Posted by: Magesh Lakshmi
- Posted on: August 25 2000 22:35 EDT
- in response to Shyam PRASAD
Context is the collection of namespaces ( resources ) found anywhere in the net. It could be a printer, a LDAP server,
a DNS server or a Remote Object.
IntialContext is the starting point to obtain a reference to any of the namespaces or resources.
JNDI uses contextfactory and a provider url to locate any namespace.
Magesh. -
nothing[ Go to top ]
- Posted by: venkat gautham
- Posted on: July 19 2004 06:39 EDT
- in response to Magesh Lakshmi
Nothing -
Difference between Context & Initialcontext?[ Go to top ]
- Posted by: fengliang wu
- Posted on: August 28 2000 15:46 EDT
- in response to Shyam PRASAD
Ok, I would like to give a comparison from another view.
1. Context is an interface which is a part of JNDI specification while InitialContext is a class which implements Context!
2. InitialContext is Sun's reference implementation class
of Context. In other J2EE-compatible products, there may/maynot be InitialContext class.