Skip to main content
Apress
Book cover

R2DBC Revealed

Reactive Relational Database Connectivity for Java and JVM Programmers

  • Book
  • © 2021

Overview

  • Introduces reactive database access for Java and JVM programmers
  • Educates readers on the benefits of the reactive programming model
  • Provides valuable examples of practical implementations to speed learning

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (16 chapters)

  1. The Reactive Movement and R2DBC

  2. The R2DBC Service-Provider Interface

  3. Getting Started with R2DBC and MariaDB

Keywords

About this book

Understand the newest trend in database programming for developers working in Java, Kotlin, Clojure, and other JVM-based languages. This book introduces Reactive Relational Database Connectivity (R2DBC), a modern way of connecting to and querying relational databases from Java and other JVM languages. The book begins by helping you understand not only what reactive programming is, but why it is necessary. Then building on those fundamentals, the book takes you into the world of databases and the newly released Reactive Relational Database Connectivity (R2DBC) specification. 


Examples in the book are worked using the freely available MariaDB database along with MariaDB’s vendor-implementation of the R2DBC service-provider interface (SPI). Following along with the examples and the provided example code helps prepare you to work with any of the growing number of R2DBC implementations for popular enterprise databases such as Oracle Database and SQL Server. You’ll be well prepared for what is becoming the future of database access from Java and other languages built on the JVM.




What You Will Learn
  • Understand why R2DBC was created and how it utilizes the Reactive Streams API 
  • Understand the components of the R2DBC service-provider interface
  • Create and manage reactive database connections and connection pools using an R2DBC client
  • Programmatically execute queries on a relational database using an R2DBC client
  • Effectively utilize transactions using an R2DBC client
  • Build relational database-driven applications that are event-driven and non-blocking




Who This Book Is For


Software developers building solutions using JVM languages and the JVM ecosystem, and developers who need an introduction to the R2DBC specification and reactive programming with relational databases and want to understand what Reactive Relational Database Connectivity is and why it came about. This book includes practical examples of using the R2DBC specification with Java and MariaDB that will provide developers with the knowledge they need to create their own solutions.


Authors and Affiliations

  • Chicago, USA

    Robert Hedgpeth

About the author

Rob Hedgpeth is a professional software engineer and developer relations enthusiast residing in the bustling metropolis of Chicago, Illinois. Rob has more than 12 years of professional development experience, primarily in the application development space. Throughout the years he has contributed to the architecture and development of many apps, using a large array of languages and technologies. Now as a developer advocate and evangelist for MariaDB, Rob gets to combine his love for technology with his mission to fuel developers' curiosity and passion.

Bibliographic Information

  • Book Title: R2DBC Revealed

  • Book Subtitle: Reactive Relational Database Connectivity for Java and JVM Programmers

  • Authors: Robert Hedgpeth

  • DOI: https://doi.org/10.1007/978-1-4842-6989-3

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Robert Hedgpeth 2021

  • Softcover ISBN: 978-1-4842-6988-6Published: 02 April 2021

  • eBook ISBN: 978-1-4842-6989-3Published: 02 April 2021

  • Edition Number: 1

  • Number of Pages: XXIII, 212

  • Number of Illustrations: 57 b/w illustrations

  • Topics: Java, Database Management

Publish with us