Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is javax.naming.Context used for?

Status
Not open for further replies.

cpjust

Programmer
Sep 23, 2003
2,132
US
Hi,
I've been reading the documentation for javax.naming.Context and I'm totally lost.

What is a "Context" in this particular, umm, context?

The docs say stuff like:
javadocs said:
This interface represents a naming context, which consists of a set of name-to-object bindings.
and
javadocs said:
Each name passed as an argument to a Context method is relative to that context.
It's almost like they picked the most confusing name possible for this class.
Can someone explain what it is and does in terms that even a C++ developer can understand?
 
I like thinking on Naming as a yellow pages service for remote objects. Maybe this article helps to clarify.

I'm not an expert on this, but maybe the closer thing in C++ is the .NET remoting config file.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top