Skip to content
A DMV based example application which demonstrates best-practices for using QLDB & the QLDB Driver for Java.
Java
Branch: master
Clone or download
Latest commit 13e53fa Nov 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Creating initial file from template Aug 6, 2019
gradle/wrapper Upload Vehicle registration sample code for Amazon QLDB Sep 10, 2019
src/main Properly print digest value Nov 13, 2019
CODE_OF_CONDUCT.md Creating initial file from template Aug 6, 2019
CONTRIBUTING.md
LICENSE Creating initial file from template Aug 6, 2019
NOTICE Creating initial file from template Aug 6, 2019
README.md Clarifies parts of the README Nov 12, 2019
THIRD-PARTY Upload Vehicle registration sample code for Amazon QLDB Sep 10, 2019
build.gradle Upload Vehicle registration sample code for Amazon QLDB Sep 10, 2019
gradlew Upload Vehicle registration sample code for Amazon QLDB Sep 10, 2019
gradlew.bat Upload Vehicle registration sample code for Amazon QLDB Sep 10, 2019
settings.gradle Upload Vehicle registration sample code for Amazon QLDB Sep 10, 2019

README.md

Amazon QLDB Java DMV Sample App

The samples in this project demonstrate several uses of Amazon QLDB.

Requirements

Basic Configuration

See Accessing Amazon QLDB for information on connecting to AWS.

Java 8 and Gradle

The examples are written in Java 8 using the Gradle build tool. Java 8 must be installed to build the examples, however the Gradle wrapper is bundled in the project and does not need to be installed. Please see the link below for more detail to install Java 8 and information on Gradle:

Running the Sample code

The sample code creates a ledger with tables and indexes, and inserts some documents into those tables, among other things. Each of the examples in this project can be run in the following way:

Windows:

gradlew run -Dtutorial=CreateLedger

Unix:

./gradlew run -Dtutorial=CreateLedger

The above example will build the CreateLedger class with the necessary dependencies and create a ledger named: vehicle-registration. You may run other examples after creating a ledger.

Documentation

To generate JavaDoc documentation for this repository, run the following:

./gradlew javadoc

Generated documentation can be found in ./build/docs/javadoc/.

License

This library is licensed under the Apache 2.0 license.

You can’t perform that action at this time.