Abstract:
Don't fight against your tools: get the most of your persistent layer. By attending this presentation, you'll learn how you to write portable applications AND make use of your database.
We'll show you how to combine the get the best out of two awesome data access frameworks:
- For reads, SQL and jOOQ are the best way to fetch data efficiently.
- For writes, Hibernate allows you to take advantage of batching, or provide application-level concurrency control mechanisms, and consistent caching.
Part 1 - Database centric applications with Spring Boot and jOOQ
jOOQ is one of several quite different technologies to access relational data from Java based applications.
jOOQ is short for "Java object oriented querying" and describes a query builder framework that takes a look at your database schema, independent of what database you use, and provides you with a domain specific language (DSL) for generating statements.
Learn in this session who you can facilitate the "magic" of Spring Boot to provide jOOQ with needed resources and then use it to publish advanced analytic queries as HTTP apis.
jOOQ is not gonna be presented as a silver bullet, which it is not. But it allows you to facilitate your database the way it was meant to be, especially during reads.
You’re doing Domain Driven Design (DDD) in your projects? Don’t mix up JPA entities and aggregates, entities and value objects from Evans’ book. Can it be a good idea to create custom selects and just the objects you need for your Domain? Let’s discuss!