We are starting to use Amazon web services. As I was searching for a Spring library, but couldn't find anything. Is this a case of there has been a decision made to not include this functionality or has no one provided any code. Is there any interested in having a spring-data-dynamodb?
Create a DynamoDB Table on AWS Console and add a sample value. Setup the Java Spring Boot Micro Service on your local using Spring Initializr. Integrate the DynamoDB code into your Java Application using AWS SDK and successfully read the sample value.
Maven Dependencies Add the following dependencies to start working with DynamoDB using Spring Data: Spring Data JPA. AWS Java SDK DynamoDB.
You can use Hibernate to map object-oriented domain models to a traditional relational database. The tutorial below shows how to use the CData JDBC Driver for Amazon DynamoDB to generate an ORM of your Amazon DynamoDB repository with Hibernate.
Compared to other NoSQL databases, AWS DynamoDB supports data models like key-value pair (see figure below), and document data structures such as JSON, XML and HTML.
there are plenty of examples out of there. Take a look at this one: It should be very interesting: https://github.com/michaellavelle/spring-data-dynamodb
[UPDATE]
That project is out to date right now, you should use this one: https://github.com/derjust/spring-data-dynamodb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With