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.

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 [...]

By |2020-06-27T15:05:37+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 [...]

By |2020-05-24T07:54:01+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 [...]

By |2020-05-19T07:35:38+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 [...]

By |2020-05-15T04:27:22+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), [...]

By |2020-05-09T17:20:16+00:00May 9th, 2020|Categories: Java™|Tags: |

A Complete RxJS Tutorial – explanations with examples

This is a complete RxJS tutorial with details explanations, code examples and a lot of references to further sharpen your skills. In this tutorial, you will learn the core concepts of reactive programming and how to achieve them in RxJS. Learning RxJS could be hard, especially to think in a reactive programming way. But, trust me it is worth learning. [...]

By |2020-05-05T19:10:37+00:00May 5th, 2020|Categories: JavaScript, RxJS|Tags: , |

Getting started with Project Reactor

In this tutorial, you will learn about Project Reactor used to create efficient Reactive systems. The project reactor is often simply referred to as Reactor. It is based on the Reactive Stream Specification which is implemented by Project reactor and RxJava. 1. What is Project Reactor? Technically, the Reactor is a fourth-generation reactive library, based on the Reactive Streamsspecification, for [...]

By |2020-05-09T17:19:43+00:00May 5th, 2020|Categories: Java™|Tags: |

Advice ordering using @Order in Spring AOP

Introduction In this tutorial, you will learn about the multiple Advice ordering using @Order in Spring AOP. Often, more than one piece of advice is applied on a single matched Joinpoints and you want to control the order in which they are executed. Spring allows you to set the Precedence using org.springframework.core.Ordered interface or @Order annotation. Rules for advice precedence [...]

By |2020-05-02T13:37:05+00:00May 2nd, 2020|Categories: Spring Framework|Tags: , |

Around advice in Spring AOP – @Around

1. Introduction In this article, you will learn about the Around advice in Spring AOP that runs around a matched Joinpoint's execution. Around advice is declared using the @Around annotation. You already know about the 5 types of advice from the previous article as listed below. Before advice – @BeforeAfter returning – @AfterReturningAfter throwing – @AfterThrowingAfter (finally) advice – @AfterAround advice – @Around 2. Around advice execution - @Around Around advice is declared [...]

By |2020-04-28T18:20:42+00:00April 28th, 2020|Categories: Spring Framework|Tags: , |

Complete Spring AOP Tutorial

Course introduction: Spring AOP makes Aspect-Oriented Programming easier. In this tutorial, you will learn about aspect-oriented programming using Spring AOP. Aspect-oriented programming enhances the Object-Oriented Programming concept by providing a different way to structure your code. Spring AOP uses AspectJ internally, we will use Spring with AspectJ annotations in this tutorial. What is AOP? An Aspect is simply a [...]

By |2020-05-02T13:44:18+00:00April 28th, 2020|Categories: Spring Framework|Tags: , |