Archive

Archive for February, 2014

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 use.so i continued with saradine.

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

Below are the few useful links for using sardine.

PrHome:https://github.com/lookfirst/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.

Advertisements
Categories: Cloud, General, Java, Storage Tags: ,
%d bloggers like this: