I am building a Java web application which will require storing and retrieving large files. I would like to be able to scale the application for the future so I was planning on using XtreemFS http://www.xtreemfs.org/ as a distributed file system. It provides the redundancy and speed I need.
I'm hoping to find a direct client for it for Java but having a little bit of trouble finding one. There are some advanced features of XtreemFS which allow controlling the level of redundancy and by making files read-only can reduce locking overhead.
If I cannot find a Java client, then I will just mount the XtreemFS data store on my servers, treat it just like I would local storage, and use basic java.io.* classes to read and write files from it as if it were just files on the disk.
Any suggestions on the best practices for using XtreemFS?