R2dbc Revealed: Reactive Relational Database Connectivity for Java and Jvm Programmers

Hedgpeth, Robert

  • 出版商: Apress
  • 出版日期: 2021-04-02
  • 定價: $1,985
  • 售價: 9.5$1,886
  • 貴賓價: 9.0$1,787
  • 語言: 英文
  • 頁數: 212
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484269888
  • ISBN-13: 9781484269886
  • 相關分類: Java 程式語言資料庫SQL
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

了解最新的資料庫程式設計趨勢,適用於使用Java、Kotlin、Clojure和其他基於JVM的語言的開發人員。本書介紹了Reactive Relational Database Connectivity (R2DBC),這是一種從Java和其他JVM語言連接和查詢關聯式資料庫的現代方式。本書首先幫助您了解什麼是反應式程式設計,以及為什麼它是必要的。然後,在這些基礎上,本書將帶您進入資料庫的世界,介紹最新發布的Reactive Relational Database Connectivity (R2DBC)規範。

本書中的示例使用免費提供的MariaDB資料庫以及MariaDB的R2DBC服務提供者介面(SPI)的供應商實現。跟隨示例和提供的範例代碼,有助於您準備使用越來越多的R2DBC實現,以連接流行的企業資料庫,如Oracle Database和SQL Server。您將為從Java和其他基於JVM的語言訪問資料庫的未來做好充分準備。

您將學到什麼


  • 了解為什麼創建了R2DBC以及它如何利用Reactive Streams API

  • 了解R2DBC服務提供者介面的組件

  • 使用R2DBC客戶端創建和管理反應式資料庫連接和連接池

  • 使用R2DBC客戶端以程式化方式在關聯式資料庫上執行查詢

  • 使用R2DBC客戶端有效地使用事務

  • 構建基於關聯式資料庫的事件驅動和非阻塞應用程式

本書適合對象
軟體開發人員使用JVM語言和JVM生態系統構建解決方案的人,以及需要介紹R2DBC規範和關聯式資料庫的反應式程式設計的開發人員,並希望了解Reactive Relational Database Connectivity的背景和原因。本書包含使用Java和MariaDB的R2DBC規範的實際示例,將為開發人員提供創建自己解決方案所需的知識。

作者簡介

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.

作者簡介(中文翻譯)

Rob Hedgpeth是一位專業的軟體工程師和開發者關係愛好者,居住在繁華的伊利諾伊州芝加哥市。Rob擁有超過12年的專業開發經驗,主要在應用程式開發領域。多年來,他在許多應用程式的架構和開發方面做出了貢獻,使用了各種不同的語言和技術。現在作為MariaDB的開發者倡導者和傳教士,Rob可以將他對技術的熱愛與推動開發者的好奇心和熱情相結合。