JNDI file system provider

I was looking for a Java Naming and Directory Interface (JNDI) service provider for the file system. To my knowledge, Oracle ships are shipped with JDK service providers only for RMI, DNS, LDAP, and COS. It seems that Sun used them because several websites and forums appeared in my Google search, including Coderanch, where people suggested downloading the SP file system from the Sun JNDI page , but this page is now redirected to the Java Technetwork main page. In addition, the Oracle JNDI page does not provide any information about the SP file system, and somewhere in the JNDI path of the Java tutorial they suggest you download it from the above JNDI page and provide examples of its use for finding a name. A search on the Oracle website also brought nothing.

My question has two parts:

1) What happened to the Sun JNDI file system service provider and can you still get any version of it in any way?

2) Are they alternative SP file systems for JNDI?

Thank you in advance for your help.

+7
source share
3 answers

I managed to load this library from oracle archive download . This page contains a long list of downloads. Try [Ctrl + F] for "File System Provider, 1.2 Beta 3". The jar file is 14 years old. It was released on March 29, 2000.

+2
source

Not found in maven center and mvnrepository.com and jfrog. Currently (2015), found in the oracle archive for manual download, and for maven, a similar dependency here is pom.xml:

<dependency> <groupId>com.sun.messaging.mq</groupId> <artifactId>fscontext</artifactId> <version>4.6-b01</version> </dependency> 
+2
source

You can download it from Maven Central

 <dependency> <groupId>com.sun.jndi</groupId> <artifactId>fscontext</artifactId> <version>1.2-beta-3</version> </dependency> 

Finding alternatives leads to SwiftMQ implementation

+1
source

All Articles