Recently, I had a task to choose a java client for interacting with OpenStack Storage service aka Swift.
I recommend you JOSS
Actually, I found 3 open source projects on GitHub:
- https://github.com/dkocher/java-openstack-swift
- https://github.com/woorea/openstack-java-sdk
- https://github.com/javaswift/joss
After testing and working for a bit with each library I ended up with the following conclusion - the best one is JOSS - http://joss.javaswift.org
So, now the list of advantages:
- openstack-java-sdk is a huge library for almost all OpenStack services. I needed only swift driver so I wasn't interested to add useless dependencies. Always use KISS principle.
- java-openstack-swift from dkocher - I didn't manage to make a connection to my swift proxy. Maybe this library is very good and written by smart people, but the documentation is poor. If a developer should dig into the code source to figure out how to make the basic simple step, this will increase the learning curve. One more little disadventage is absence of the project in maven central repo.
- And finally the winner - JOSS - https://github.com/javaswift/joss by Robert Bor.
Why JOSS:
- Very simple API.
- The principle of modern fluid API building is used. The API is readable and comprehensible.
- Good documentation for each common task (authentication, uploading, downloading, etc)
- Available at standard maven repo.
- Excellent support organised by the project author - Robert Bor. He helped me within few hours to find an error in my configuration and pleased me with his reaction and quality of responses.
Aucun commentaire:
Enregistrer un commentaire