File system

JNDI offers a universal naming API and a standardized way to store objects in a namespace. The file system service provider supports these features for a local or networked file system. Its purpose is two-fold. It allows clients to:

  • traverse the file system namespace using JNDI's context interface.
  • store Java objects in the file system.

These two separate functions are handled by two different providers, that is, classes. The first class handles accessing the file system and can be used independently of the second. The second class handles storage of Java objects and is used with the first. It is a subclass of the first.

The adapter treats the File provider as a naming implementation.