Added by Wander Grevink, last edited by Wander Grevink on Jul 09, 2008  (view change)

Labels:

repository repository Delete
java java Delete
adapter adapter Delete
webdav webdav Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Background

Hippo Repository is a WebDAV compliant server, it is therefore possible to write Java applications on top of it using standard libraries like the slide WebDAV client library and HttpClient as demonstrated in How to query the Hippo Repository from a Java class. A major drawback of this approach is that WebDav is a generic low level protocol burdening the developer with all sorts of low level intricacies. It therefore makes sense to add a higher level abstraction layer on top of WebDav hiding these distracting details and exposing an API that is more tailored for Java application developers.

Hippo Repository Java Adapter

The Hippo Repository Java Adapter defines and implements a Java API on top of the Hippo Repository providing an easy way to integrate Hippo Repository in any Java based application. It is richly featured, providing a set of high level content retrieval methods, low level WebDAV access, and advanced caching for optimal performance. The Hippo Repository Java Adapter greatly simplifies the development of applications and web sites that use Hippo Repository and Hippo CMS as a back end, regardless of which framework is used.

Features

Simple Standardized Java API: Hippo Repository Java Adapter provides an easy-to-work-with Java API, hiding cumbersome WebDAV HTTP methods and complex caching mechanisms. It enables any Java developer to get up and running with Hippo Repository as quickly as possible.

Flexibility: Hippo Repository Java Adapter can be used with any Java based application framework, such as Struts, Java Server Faces or Swing. It can be used in web based application as well as in standalone desktop applications. The API provides high level content retrieval methods providing strong typed java access, it also provides low level WebDAV methods in case the high level methods do not suit the needs for a particular application.

Caching: A significant benefit over ordinary WebDAV access, Hippo Repository Java Adapter provides caching of WebDAV responses, ensuring that requests are sent to the repository only when necessary. This means a considerable performance gain. The caching functionality is implemented transparently in the library, so developers need not worry about it, it just works!

Update notification: Hippo Repository Java Adapter provides an easy way for Java application developers to register their application for content update notification. The caching component of Hippo Repository Java Adapter is an example of this: it uses the update notifier for removing stale cached entries.

Open Source: Hippo Repository Java Adapter is true open source software, with a publicly accessible code repository and open development discussion through a mailing list. Technical support and consultancy is available from Hippo on request.

Documentation and download

Samples

  • JSF Repository Browser - A simple JSF sample application demonstrating the use of this library
  • PHP sample site - A simple PHP site on top of Hippo Repository with the use of the Java adapter webservice