reactive feign

Spring WebClient With Feign

Overview: In this tutorial, I would like to show you how we can use Spring WebClient with Feign to make HTTP calls in reactive manner. Spring WebClient with Feign: Spring WebClient is a non-blocking reactive client to make HTTP requests. Feign is a library which helps us to create declarative REST clients easily with annotations and […]

r2dbc query by example

Spring Data R2DBC Query By Example

Overview: In this tutorial, I would like to show you the R2DBC Query By Example API with Spring WebFlux and how we can use this to search for records without exposing multiple methods in our Repository object. Lets first see what it is exactly before diving into coding. Query By Example: Query By Example (QBE)

Spring Data R2DBC Query By ExampleRead More »

r2dbc pagination

Spring Data R2DBC Pagination

Overview: In this tutorial, I would like to show you how we could achieve pagination for improved navigation of our application when we use Spring Reactive Data (R2DBC Pagination) with Spring WebFlux. Spring Data R2DBC: R2DBC stands for Reactive Relational DB connectivity. Something like JPA (Java Persistence API), R2DBC is a specification for reactive drivers for relational DBs.

Spring Data R2DBC PaginationRead More »

spring boot graalvm native image

Spring Boot GraalVM Native Image

Overview: In this tutorial, I would like to show you building Spring Boot GraalVM Native Image and Its performance. GraalVM Native Image: GraalVM is an universal VM for running applications written in Java, JavaScript, Python, Ruby..etc. It compiles the Java and bytecode into native binary executable which can run without a JVM. This can provide

Spring Boot GraalVM Native ImageRead More »

spring webflux validation

Spring WebFlux Validation

Overview: In this tutorial, I would like to show you Spring WebFlux Validation for validating the beans / request inputs. Spring WebFlux Validation: When we expose our APIs using WebFlux, we might have a set of constraints before accepting any request for processing. For ex: Field should not be null, age should be within the

Spring WebFlux ValidationRead More »

spring-webflux-redis

Spring WebFlux Redis Integration

Overview: In this article, I would like to show how we could improve the performance of our application with Spring WebFlux Redis Integration. Spring WebFlux Redis Integration: Redis stands for Remote Dictionary Server.  It is an in-memory, fastest NoSQL DB primarily used for caching the frequently used data. It also has so many other features

Spring WebFlux Redis IntegrationRead More »

spring webflux file upload

Spring WebFlux File Upload

Overview: In this tutorial, I would like to show you Spring WebFlux File Upload example. Spring WebFlux File Upload: Spring WebFlux is a non-blocking web stack to handle multiple concurrent requests with minimal number of threads and scale with fewer hardware resources. It performs much better compared to Spring MVC when the application has to

Spring WebFlux File UploadRead More »

spring webflux with protobuf

Spring WebFlux With Protobuf

Overview: In this tutorial, I would like to show you how we could use Spring WebFlux with Protobuf (Protocol Buffers) for your RESTful Microservices. Protocol Buffers, in short Protobuf, are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can take a look at this to learn more about this. Spring WebFlux With Protobuf:

Spring WebFlux With ProtobufRead More »

Spring Data R2DBC CRUD Example

Overview: In this article, I would like to show you how to perform various CRUD operations using Spring Data R2DBC  along with Spring WebFlux. I would use Postgres in this example. If you are using H2/MySQL..etc the concept remains same. Spring Data R2DBC: R2DBC stands for Reactive Relational DB connectivity. As a Java developer, you know

Spring Data R2DBC CRUD ExampleRead More »