Amazon QLDB Java tutorial - Amazon Quantum Ledger Database (Amazon QLDB)

Amazon QLDB Java tutorial

In this tutorial, you use the Amazon QLDB driver with the AWS SDK for Java to create a QLDB ledger and populate it with sample data. The driver enables your application to interact with QLDB using the transactional data API. The AWS SDK for Java enables interaction with the QLDB control plane API.

The sample ledger that you create in this scenario is a department of motor vehicles (DMV) database that tracks the complete historical information about vehicle registrations. The following sections explain how to add vehicle registrations, modify them, and view the history of changes to those registrations. This guide also shows you how to verify a registration document cryptographically, and it concludes by cleaning up resources and deleting the sample ledger.

As you work through this tutorial, you can refer to the AWS SDK for Java API Reference for control plane operations. For transactional data operations, you can refer to the QLDB Driver for Java API Reference.

Note

Where applicable, some tutorial steps have different commands or code examples for each supported major version of the QLDB driver for Java.