InitialContext
E836369
InitialContext is the primary JNDI class that provides the starting point for performing naming and directory operations in Java applications.
All labels observed (1)
| Label | Occurrences |
|---|---|
| InitialContext canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T10020051 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: InitialContext Context triple: [Java Naming and Directory Interface, hasConcept, InitialContext]
-
A.
Java Naming and Directory Interface
Java Naming and Directory Interface (JNDI) is a Java API that provides a unified interface for accessing naming and directory services, enabling applications to look up and manage resources such as EJBs, JDBC data sources, and environment entries.
-
B.
IIOP
IIOP (Internet Inter-ORB Protocol) is a network protocol used by CORBA to enable communication between distributed objects across different platforms and programming languages.
-
C.
Object Naming Service (ONS)
Object Naming Service (ONS) is an EPCglobal network service that maps Electronic Product Codes (EPCs) to internet resources, enabling discovery of detailed information about tagged objects.
-
D.
Initial Connection Protocol
Initial Connection Protocol was an early ARPANET protocol that established and managed initial communication sessions between host computers in the precursor to the modern internet.
-
E.
Connexxion
Connexxion is a major Dutch public transport company that operates regional and urban bus services across the Netherlands.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: InitialContext Target entity description: InitialContext is the primary JNDI class that provides the starting point for performing naming and directory operations in Java applications.
-
A.
Java Naming and Directory Interface
Java Naming and Directory Interface (JNDI) is a Java API that provides a unified interface for accessing naming and directory services, enabling applications to look up and manage resources such as EJBs, JDBC data sources, and environment entries.
-
B.
IIOP
IIOP (Internet Inter-ORB Protocol) is a network protocol used by CORBA to enable communication between distributed objects across different platforms and programming languages.
-
C.
Object Naming Service (ONS)
Object Naming Service (ONS) is an EPCglobal network service that maps Electronic Product Codes (EPCs) to internet resources, enabling discovery of detailed information about tagged objects.
-
D.
Initial Connection Protocol
Initial Connection Protocol was an early ARPANET protocol that established and managed initial communication sessions between host computers in the precursor to the modern internet.
-
E.
Connexxion
Connexxion is a major Dutch public transport company that operates regional and urban bus services across the Netherlands.
- F. None of above. chosen
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
JNDI context implementation
ⓘ
Java class ⓘ |
| abbreviationOf | JNDI NERFINISHED ⓘ |
| canThrow | NamingException ⓘ |
| category | Java enterprise infrastructure ⓘ |
| configuredBy | JNDI environment properties ⓘ |
| definedInPackage | javax.naming NERFINISHED ⓘ |
| dependsOn | JNDI service provider ⓘ |
| documentedIn | Java Platform Standard Edition API Specification NERFINISHED ⓘ |
| extends | Context ⓘ |
| hasConstructor |
InitialContext()
ⓘ
InitialContext(java.util.Hashtable env) ⓘ |
| implements | Context interface ⓘ |
| introducedIn | Java 2 Platform, Standard Edition NERFINISHED ⓘ |
| lifecycle | should be closed when no longer needed ⓘ |
| partOfAPI | Java Naming and Directory Interface NERFINISHED ⓘ |
| provides |
starting point for directory operations
ⓘ
starting point for naming operations ⓘ |
| readsProperty |
java.naming.factory.initial
ⓘ
java.naming.factory.url.pkgs ⓘ java.naming.provider.url ⓘ java.naming.security.credentials ⓘ java.naming.security.principal ⓘ |
| relatedTo |
Context
ⓘ
DirContext ⓘ InitialDirContext NERFINISHED ⓘ |
| supportsMethod |
bind(String name, Object obj)
ⓘ
close() ⓘ createSubcontext(String name) ⓘ destroySubcontext(String name) ⓘ getEnvironment() ⓘ list(String name) ⓘ listBindings(String name) ⓘ lookup(String name) ⓘ rebind(String name, Object obj) ⓘ unbind(String name) ⓘ |
| threadSafety | not guaranteed to be thread-safe ⓘ |
| typicalUsagePattern | new InitialContext().lookup("java:comp/env/...") ⓘ |
| usedFor |
DataSource lookup
ⓘ
EJB lookup ⓘ JMS resource lookup ⓘ JNDI lookups ⓘ accessing directory services ⓘ environment naming context access ⓘ looking up objects in naming services ⓘ resource lookup in Java EE ⓘ |
| usedIn |
Jakarta EE applications
ⓘ
Java EE applications ⓘ Java SE applications ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: InitialContext Description of subject: InitialContext is the primary JNDI class that provides the starting point for performing naming and directory operations in Java applications.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.