RSocket Security With Spring

Overview: In this tutorial, I would like to demo RSocket Security with Spring. If you are new to RSocket, take a look at these articles on RSocket. RSocket With Java – Getting Started RSocket With Spring Boot RSocket Security: RSocket is a great choice for client/server application development. It offers 4 different interaction models for

RSocket Security With SpringRead More »

Scatter Gather Pattern

Overview In this tutorial, I would like to demonstrate Scatter Gather Pattern which is one of the Enterprise Integration Patterns for the distributed system architecture using NATS messaging server. Please check my previous artcile here to know more about NATS. Scatter Gather Pattern Let’s consider an application in which we need to do a set

Scatter Gather PatternRead More »

spring webflux streaming

Spring WebFlux Streaming

Overview: In this tutorial, I would like to demo Spring WebFlux Streaming Response (aka Server Sent Events) – a mechanism for pushing notifications/messages to the browsers from the back-end application in real time. Spring WebFlux Streaming: Traditionally browsers have to make a request to the server to fetch the latest information. It has worked just

Spring WebFlux StreamingRead More »

RSocket With Spring Boot

Overview: In this tutorial, I would like to show you how to integrate RSocket with Spring Boot. If you are new to RSocket, take a look at this article to learn more. RSocket Interaction Models: RSocket is a message passing protocol for multiplexed, duplex communication which supports TCP, WebSockets and Aeron (UDP). It supports following

RSocket With Spring BootRead More »

Reactive gRPC In Java

Overview: In this tutorial, I would like to show you how to apply the reactive streams & develop Reactive gRPC. If you are new to both gRPC and reactor, then you might have to check these articles first! gRPC series reactor series Prerequisite: gRPC Unary API In Java – Easy Steps gRPC Client Streaming API In

Reactive gRPC In JavaRead More »

MongoDB Change Streams With Reactive Spring Data

Overview: In this tutorial, I would like to show you how to set up MongoDB Replica Sets using docker-compose and access MongoDB Change Streams with Reactive Spring Data MongoDB Template. Replica Sets: A replica set is a group of MongoDB instances that maintain the same data set. Replica sets provide redundancy and high availability. MongoDB

MongoDB Change Streams With Reactive Spring DataRead More »

MongoDB Tailable Cursor With WebFlux

Overview: In this tutorial, I would like to show you how to access the MongoDB Tailable Cursor or Infinite Streams with Spring Data Reactive MongoDB. This approach can help us to develop a Spring Boot application to automatically notify our users on the new records getting inserted into a collection. MongoDB Tailable Cursor: By default, when

MongoDB Tailable Cursor With WebFluxRead More »

MongoDB Aggregation Pipeline With Reactive Spring Data

Overview: In this tutorial, I would like to show how to use the MongoDB Aggregation Pipeline to process multiple documents and present the data in the desired format with Reactive Spring Data MongoDB Repository and MongoDB Template. Project Setup: Lets first create a simple spring boot project with these dependencies. Sample Application: Let’s consider an application

MongoDB Aggregation Pipeline With Reactive Spring DataRead More »

spring data reactive mongodb

Spring Data Reactive MongoDB CRUD Example

Overview: In this article, I would like to show how to perform various CRUD Operations with Spring Data Reactive MongoDB Repository. Project Setup: Lets first create a simple spring boot project with the required dependencies like Spring Data Reactive MongoDB. Sample Application: We are going to develop a simple spring boot application for freelancers in

Spring Data Reactive MongoDB CRUD ExampleRead More »