Amazon QLDB Java DMV Sample App
The samples in this project demonstrate several uses of Amazon QLDB.
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:
gradlew run -Dtutorial=CreateLedger
./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.
To generate JavaDoc documentation for this repository, run the following:
Generated documentation can be found in
This library is licensed under the Apache 2.0 license.