Tutorials

 

Annotations framework tutorials

This is the most modern framework in Milton. It provides for very simple annotation based implementations, which preclude most of the common implementation errors.

Hello World Annotations
Hello World - Annotations

Really quick, simple tutorial showing how to integrate milton and get a running...

View tutorial
File operation annotations
File operation annotations

Shows how to implement most file operations like delete, move, copy, creating folders...

View tutorial
Calendar annotations
Calendar annotations

Really simple example of implementing calendars with annotations

View tutorial

 

 

Resource API tutorials

The Resource API is the older and original useage of Milton. To use this you implement ResourceFactory and various Resource interfaces, such as GetableResource, DeletableResource, etc.

The advantage of this API is that it provides a lower level access then annotations, but there is far more scope for incorrect semantics in your implementation.

Simple webdav browsing
Simple webdav browsing (Resource API)

Shows creating an eclipse maven project from scratch with basic file browsing functionality using the Resource API

View tutorial
Basic file operations
Basic file operations (Resource API)

Continues the eclipse/maven based example app to show how to implement move, copy, delete as well as uploading and downloading with the Resource API

View tutorial
File Locking
File Locking (Resource API)

Shows implementing locking, including the difficult lock-null mechanism

View tutorial
Introduction to Carddav
Introduction to Carddav (Resource API)

A worked example showing a simple cardav implementation using the Resource API

View tutorial