Database Reference
In-Depth Information
Language-specific libraries
There are various community-contributed libraries available for general use. In this section,
I am going to list down all available libraries at present and some information about them.
Java
There are various libraries available in Java. They are explained in the following sections.
Jsoda
Jsoda provides simple Java object wrapping around the AWS API. You can simply create
Java objects and annotate them correctly, and they are ready to use. This library provides
similar interfaces for both SimpleDB and DynamoDB. Here POJOs are stored as records in
DynamoDB. If you declare the attributes with primitive data types correctly, then the lib-
rary automatically translates it into DynamoDB data types. This library also makes query-
ing simple with features such as easy pagination options, caching, and so on.
You can get more information about the library at https://github.com/williamw520/jsoda .
Phoebe
This is another library that is a wrapper around the AWS API. This library simplifies the
use of DynamoDB APIs. You can create a Phoebe object providing the user credentials and
get started with the implementation. It also gives various data stores to be selected by users
depending on their needs. A data store is simply a strategy of how you want to store your
records and what kind of consistency you would like to choose.
This project is in its Alpha release, so use it with care. Currently, the project is hosted as a
Google project at https://code.google.com/p/phoebe-dynamodb/ .
Jcabi
This is yet another library that sits on top of AWS SDK APIs. It gives users a simplified in-
terface to do CRUD operations on DynamoDB tables and items. To start using this library,
you need to add a Maven dependency in pom.xml as follows:
<dependency>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-dynamo</artifactId>
Search WWH ::




Custom Search