Long time since my last post.. Though recently I have been exploring different API’s for Amazon Web Services, and found two excellent, complimentary API’s that should be at the top of your list when you interact with AWS

JetS3t – Amazon S3 Java API
JetS3t can be found here. It’s an excellent and fully featured API for dealing with S3 storage. The documentation and sample code is also excellent and should cover most cases you should want to look at.
For Maven dependencies, all you need to add is the following dependency:

<dependency>
<groupId>net.java.dev.jets3t</groupId>
<artifactId>jets3t</artifactId>
<version>0.7.2</version>
</dependency>

..of course, keep a lookout for version updates, this was the most recent one at the time of this writing to my knowledge.

Typica – API’s for the rest of Amazon’s Web Services
I’ve been using the Typica API’s for interacting with SimpleDB and Simple Queue Service, it also has API’s for managing EC2 instances and the rest of Amazons cloud offering. Documentation is ok, but not quite as good as for JetS3t. Finding the Maven dependencies was a bit more work, but eventually found them, with the following settings:

<dependency>
<groupId>com.google.code.typica</groupId>
<artifactId>typica</artifactId>
<version>1.6</version>
</dependency>

Also added the following repository to the repositories section of my pom.xml:

<repository>
<id>ibiblio</id>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>
</repository>

Hope this saves a bit of time for others!

Advertisement