Java™

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: |

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 [Read More]

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

Top Youtube Channels for every Java Developer

Everyone today wants to stay up to date in this ultra speed world, especially when it comes to programming knowledge. There were times when a Java developer could survive without much updating themself for years, but those days are gone. Today technology is evolving very fast, we need to sharpen our programming skills to stay relevant with the latest and [Read More]

By |2020-04-01T12:32:59+00:00April 1st, 2020|Categories: Java™|Tags: |

Bridge Design Pattern in Java

Introduction The bridge design pattern in Java works on the concept of decoupling the abstraction from its implementation to make both independents. In other words, it separates the abstraction from its implementation. This is done by introducing an interface as a Bridge between the Abstraction and the Implementation. The bridge pattern almost behaves like the Adapter Design pattern, where Adapter [Read More]

By |2020-05-09T15:59:22+00:00March 30th, 2020|Categories: Java™|Tags: |

Adapter Design Pattern in Java

Introduction The adapter pattern is part of a Structural Design pattern. It works on the concept of Bridging between two incompatible interfaces. This helps the project to support the legacy code with the new codes which are incompatible with the legacy code. In simple words, There are some chances that multiple Interfaces are incompatible with each other So Adapter makes [Read More]

By |2020-05-09T14:22:06+00:00March 30th, 2020|Categories: Java™|Tags: |

Object Pool Design Pattern in Java

Object pool design pattern in Java works on the reusability concept of the object creation. This pattern is most efficient when it is expensive to create objects and can cause memory issues if multiple objects are created. It helps to improve the performance of the application. Object pool design pattern works on the concept of object pooling. In other words, [Read More]

By |2020-05-09T15:24:00+00:00March 18th, 2020|Categories: Java™|Tags: |
Go to Top