Skip to Content
Kubernetes Native Microservices with Quarkus and MicroProfile
book

Kubernetes Native Microservices with Quarkus and MicroProfile

by Kenneth Finnigan, John Clingan
January 2022
Intermediate to advanced
328 pages
9h 8m
English
Manning Publications
Content preview from Kubernetes Native Microservices with Quarkus and MicroProfile

4 Database access with Panache

This chapter covers

  • What Panache is
  • Simplifying JPA development with Panache
  • Database testing with Panache and @QuarkusTest

In chapter 2, we created the Account service to show how to develop JAX-RS endpoints with Quarkus. In this chapter, we take that Account service and add database storage for the account data, instead of the data being held only in memory.

Because most microservices will need to store some type of data, or interact with data stored by another microservice, being able to read and store data to a database is a key feature to learn and understand. Though stateless microservices are “a thing,” and certainly a goal, if appropriate, for a microservice, there are also times when denying the need ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Bootstrapping Microservices with Docker, Kubernetes, and Terraform

Bootstrapping Microservices with Docker, Kubernetes, and Terraform

Ashley Davis
Core Kubernetes

Core Kubernetes

Jay Vyas, Christopher Love
Kubernetes Patterns

Kubernetes Patterns

Bilgin Ibryam, Roland Huß

Publisher Resources

ISBN: 9781617298653Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link