Archive for the ‘Storage’ Category

Integrating WebDav enabled server to a java applications

February 23, 2014 Comments off

HI Guys, this time my task is to integrate a WebDav enabled server to my java application.First of all, what is WevDav, sound completely new? with a quick google search I landed on this link.

Web Distributed Authoring and Versioning (WebDAV) is an extension of the Hypertext Transfer Protocol (HTTP) that facilitates collaboration between users in editing and managing documents and files stored on World Wide Web servers.

I am not going much into details about the WevDav.But it’s a really cool standard for collaboration over Http.

By implementing WebDAV we can make our web server/application server to behave like a cloud storage.

Link for converting tomcat to a WebDav Server

similar way we can convert Apache HTTP server as a WebDAV server.

The browser is the best client to navigate through the webdav server.but it you want to integrate with your java application, Home :there are quite a few apis available like Sardine, Jackrabbit e.t.c.After a long research i found Saradine in is the most easiest api to i continued with saradine.

Note : Disadvantage of Saradine is most of the security protocols are implemented,but i faced few problems with NTML i am testing it,will post the results once it is completed.

Below are the few useful links for using sardine.


working with saradine is straightforward.check out the code and have a look at its test.

Restrictions : 

Sardine validates https certificates very strictly.if you want to ignore the certificated u have to implement your own httpclient object and pass it to the SaradineImpl class and construct.

please leave a post if any one needs some help while implementing this.

Categories: Cloud, General, Java, Storage Tags: ,

Integrating Ubuntu One drive to a java Application.

January 6, 2014 Comments off

HI Guys,I have been working for a while on integrating Ubuntu One cloud storage  and i would like to share my experiences here.

First of all What is Ubuntu One ? Ubuntu One is a cloud space provided by ubuntu, like dropbox,google drive e.t.c.The advantage Ubuntu One gives

  • Gives you 5Gb of free space,to store any thing whatever you would like.
  • All latest versions of Ubunutu distributions comes with Ubuntu One not need to install any extra clients.
  • It has provided a rich set of apis for application integration as REST services.
  • Web client,where you can view,download and upload files without installing any of the client.

Now the pain points :

  • even though Ubuntu One has provided apis with documentation,its really hard to find out quick samples for,after a long struggle i have found out few projects in the Ubuntu Code Space.

Ubuntu One uses OAuth 1.0 authentication while communicating with their apis.

Below are the Useful Links.

Ubuntu One api Documentation :

Ubuntu One java api :

Ubuntu One java api source :

You can download the code,modify and use it.

Note : Check the license,before you redistribute this.

I will post few examples and sample projects in my next posts.

%d bloggers like this: