Java / JNDI
Difference between JNDI lookup and search.
lookup() finds the specified object in the given context or it fails.
search() attempts to return an enumeration of all of the objects matching a given set of search criteria and also it can search across multiple contexts.
lookup find and return single object in one context while search may return multiple objects even from different contexts.
More Related questions...