librados: Improve Java bindings
This is related to: #4231
The current state of the Java bindings is uncertain.Two projects exist:
- Java RADOS ( https://github.com/noahdesu/java-rados )
- rados4j ( https://github.com/syuu1228/rados4j )
The first bindings are written by Noah Watkins who on the -devel list said they are not reliable. The status of rados4j is uncertain, but the last commit was about 2 years ago.
Since librados provides a C interface JNA ( https://github.com/twall/jna ) could be easier to use.
#1 Updated by Wido den Hollander over 6 years ago
- Category set to java
- Assignee set to Wido den Hollander
- % Done changed from 0 to 30
- Estimated time set to 60.00 h
So I started work on this and am using JNA to do so.
The source can be found here: https://github.com/wido/rados-java
The bindings use JNA and not JNI as others have used. This means it uses librados (C) and doesn't require to be compiled against the librados development headers.
Unit tests are available and the current functionality should work fine.