Amazon DynamoDB is a NoSQL database, very much like MongoDB, which we looked at in Chapter 25, Taking Notes with Monumentum, though DynamDB supports both document and key-value store models. A thorough comparison of the two, as well as a recommendation as to which to choose, is well outside the scope of our work here. We chose DynamoDB here, since it is already provisioned in the Amazon Web Service, and, thus, easily configured for our application.
To get started with the DynamoDB API, we need to add some dependencies to our application. In the api module, add this to the pom.xml file:
<properties> <sqlite4java.version>1.0.392</sqlite4java.version> </properties> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-dynamodb</artifactId> ...