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
Really quick, simple tutorial showing how to integrate milton and get a running...
View tutorialFile operation annotations
Shows how to implement most file operations like delete, move, copy, creating folders...
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 (Resource API)
Shows creating an eclipse maven project from scratch with basic file browsing functionality using the Resource API
View tutorialBasic 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 tutorialFile Locking (Resource API)
Shows implementing locking, including the difficult lock-null mechanism
View tutorialIntroduction to Carddav (Resource API)
A worked example showing a simple cardav implementation using the Resource API
View tutorial