Syntax

Home/Bikram Kundu

About Bikram Kundu

I am a Software Craftsman, with slightly more admiration towards design and architecture. Among the few and far developers with proficiency in Java & JavaScript. I am equally in love with SkillIQ and RoleIQ.

Introduction to Microservices Architecture

This is a long boring introduction to Microservices Architecture, I will try to make it as relevant and interesting as possible. You will learn the differences between Monolithic and Microservices architecture. The various strategies used to decompose a Monolithic system into Microservices based architecture. It is difficult to give you an overview of this architecture in a single article, but [Read More]

By |2020-08-28T23:20:49+00:00August 26th, 2020|Categories: Architecture|Tags: |

Spring @Import and @ImportResource annotations

In this tutorial, you will learn to use Spring @Import and @ImportResource annotations to import configurations from java-config class and XML configurations respectively. These annotations work well with @Configuration annotations. Make sure you have a clear understanding of the ways to do Dependency Injections in Spring and the other related concepts. Check the related article on Inversion of Control and [Read More]

By |2020-08-06T16:16:42+00:00August 6th, 2020|Categories: Spring Framework|Tags: , |

Handle Resources in Spring

This article touches upon how to Handle Resources in Spring and we will look into the various interfaces like Resource, ResourceLoader, and ResourceLoaderAware. We usually do not have to make any modifications to the way in which Spring works with resources. We will specifically learn how Spring handles resources. Do not be confused with @Resource annotation. This article is about [Read More]

By |2020-08-05T06:14:19+00:00August 5th, 2020|Categories: Spring Framework|Tags: , |

Spring WebFlux REST Api with MongoDB and Spring Data

 In this article, I will explain to create a Reactive Rest API in Spring WebFlux with MongoDB as the document store. We will use reactive programming in API as well as the Repository level. This is an attempt to give you a real-life application development feel in this tutorial. In the previous tutorials, I have already discussed creating nonblocking [Read More]

By |2020-07-20T18:42:10+00:00July 20th, 2020|Categories: Spring Framework|Tags: , |

A functional endpoint in Spring WebFlux

In this article, you will learn to create a Functional endpoint in Spring WebFlux. In the previous article, I have introduced you to create an endpoint using the Annotations, now we will look into the pure functional programming way to achieve this. 1. Overview of Functional endpoint An Http request initiated by a client app arrives at the Server (Netty/Undertow [Read More]

By |2020-07-20T18:42:54+00:00July 10th, 2020|Categories: Spring Framework|Tags: , |

Getting started with Spring WebFlux

Spring WebFlux is a reactive web framework, newly added to Spring 5.x. It is fully non-blocking, supports Reactive Streams back pressure, and runs on such servers as Netty, Undertow, and Servlet 3.1+ containers. The Spring WebFlux uses Project reactor underneath for reactive programming. 1. Why use Spring WebFlux? An obvious question is, why to use Spring WebFlux when we already [Read More]

By |2020-07-10T06:18:25+00:00May 26th, 2020|Categories: Spring Framework|Tags: , |

Backpressure in Project reactor

You will learn about Backpressure in the Project reactor. Backpressure is the ability of a Consumer to signal the Producer that the rate of emission is higher than what it can handle. So using this mechanism, the Consumer gets control over the speed at which data is emitted. If you are new to Project Reactor, read about the Flux in [Read More]

By |2020-07-31T16:31:40+00:00May 24th, 2020|Categories: Java™|Tags: |

Transform and combine Reactive Stream

In this article, you will learn to Transform and Combine Reactive Streams in Project reactive. Make sure you have a basic understanding of the Flux before proceeding with this article. We will use map for transforming a Flux, also merge and concat for combining multiple streams. 1. Transform a Flux using map We can use the map operator on a [Read More]

By |2020-07-31T16:28:03+00:00May 19th, 2020|Categories: Java™|Tags: |

Flux in Project Reactor

Introduction In this article, you will learn about Flux in Project Reactor which represents 0 to N (Zero to N) items. Flux is a Reactive Streams Publisher with Rx operators that emits 0 to N elements, and then completes (successfully or with an error). If it is known that the underlying Publisher will emit 0 or 1 element, you should [Read More]

By |2020-07-31T16:26:44+00:00May 15th, 2020|Categories: Java™|Tags: |

Mono in Project Reactor

Introduction In this article, you will learn about the Mono in project reactor which represents 0-1 (Zero or One) item. A Mono<T> is a Publisher (Producer) that emits at most one item and then terminates. It can terminate with an onComplete (for successful completion) or an onError (for any failure/error) signal. In the previous article (Getting started with Project Reactor), [Read More]

By |2020-07-31T16:23:19+00:00May 9th, 2020|Categories: Java™|Tags: |