Cargando…

R2DBC revealed : reactive relational database connectivity for Java and JVM programmers /

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 language...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Hedgpeth, Robert
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [United States] : Apress, 2021.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • The World at Scale
  • Introduction
  • Part I: The Reactive Movement and R2DBC
  • Chapter 1: The Case for Reactive Programming
  • A Traditional Approach
  • Imperative vs. Declarative Programming
  • Thinking Reactively
  • The Reactive Manifesto
  • Reactive Systems
  • Reactive Systems!= Reactive Programming
  • Asynchronous Data Streams
  • Data Streams
  • Back Pressure
  • Summary
  • Chapter 2: Introduction to R2DBC
  • What Is R2DBC?
  • A New Approach
  • Beyond JDBC
  • R2DBC Implementations
  • Embracing Reactive Programming
  • Enabling Vendor Creativity
  • Enforcing Compliance
  • Reactive Streams
  • Another Specification
  • API Fundamentals
  • Processors
  • JVM Interfaces
  • Implementations
  • Summary
  • Part II: The R2DBC Service-Provider Interface
  • Chapter 3: The Path to Implementation
  • The Database Landscape
  • Power in Simplicity
  • R2DBC Compliance
  • Guiding Principles
  • Specification Implementation Requirements
  • Specification Extensions
  • Wrapped Interfaces
  • Closeable Interfaces
  • Testing and Validation
  • Summary
  • Chapter 4: Connections
  • Establishing Connections
  • The Anatomy
  • R2DBC Hindsight
  • Connection Factory
  • Driver Implementations
  • Exposing Metadata
  • ConnectionFactories
  • Discovery
  • Bringing It All Together
  • Connections
  • Obtaining Connections
  • Acquiring Metadata
  • Validating Connections
  • Closing Connections
  • Summary
  • Chapter 5: Transactions
  • Transaction Fundamentals
  • The Need for Transactions
  • ACID Compliance
  • Methods of Control
  • Committing Transactions
  • Rolling Back Transactions
  • Savepoints
  • R2DBC Transaction Management
  • Auto-commit Mode
  • Explicit Transactions
  • Committing Transactions
  • Rolling Back Transactions
  • Managing Savepoints
  • Releasing Savepoints
  • Isolation Levels
  • Managing Isolation
  • Performance Considerations
  • Summary
  • Chapter 6: Statements
  • SQL Statements
  • R2DBC Statements
  • The Basics
  • Creating Statements
  • Running Statements
  • Sneak Peek
  • Dynamic Input
  • Creating Parameterized Statements
  • Binding Parameters
  • Batching Statements
  • Using Null Values
  • Auto-generated Values
  • Performance Hints
  • Summary
  • Chapter 7: Handling Results
  • The Fundamentals
  • Consuming Results
  • Cursors
  • Update Count
  • Rows and Columns
  • Row Anatomy
  • Retrieving Values
  • Generic Objects
  • Specifying Types
  • Multiple Columns
  • Summary
  • Chapter 8: Result Metadata
  • Data About Data
  • Row Metadata
  • Column Metadata
  • Required Methods
  • Optional Methods
  • getJavaType
  • getNativeTypeMetadata
  • getNullability
  • getPrecision
  • getScale
  • Retrieving Metadata
  • Obtaining a RowMetadata Object
  • Accessing ColumnMetadata
  • Summary
  • Chapter 9: Mapping Data Types
  • Data Type Differences
  • Mapping Simple Data Types
  • Character Types
  • Boolean Types
  • Binary Types
  • Numeric Types
  • DateTime Types
  • Collection Types