CoffeeCan is a Java library providing support for the TinCan API. It only provides a subset of the API presently. It was written to serialize with Jackson and uses some JSR-303 validation. It also uses Joda-Time for time-based fields.
Agent agent = new Agent();
Account account = new Account("Sally Glider", "mailto:sally@example.com");
agent.setAccount(account);
Verb verb = new Verb(ADLVerbs.COMPLETED_ID);
Activity activity = new Activity(ADLActivities.ASSESSMENT_ID);
Statement statement = new Statement(agent, verb, activity);
statement.setTimestamp(new DateTime());
<repositories>
<repository>
<id>allogy-maven-public</id>
<name>Allogy public Maven release repository</name>
<url>https://s3.amazonaws.com/allogy.maven.public/release</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.allogy.coffeecan</groupId>
<artifactId>coffeecan</artifactId>
<version>0.3</version>
</dependency>
</dependencies>
Copyright (c) 2013 Allogy Interactive.
Released under the Apache License, Version 2.0.