The jstobigdata brings you advanced guided tutorials and articles on emerging technologies. It presentss you great tutorials with code examples. Unlike many other popular blogs, Jstobigdata focuses on practical oriented tutorials with depth knowledge. This blog is for programmers as well as technology enthusiasts. The content on this site can be broadly categoriesed as Tutorials and Blog articles.
Browse the popular Tutorials
The #1 container, designed to make it easier to create, deploy and run applications in it.
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]
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]
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]
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]
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]
Introduction In this tutorial, we will learn about the @Order annotation in Spring. The @Order annotation in Spring defines the sorting order of beans or components. Before Spring 4.0, this annotation supported only the ordering of AspectJ aspects. Since Spring 4.0, it supports many kinds of components e.g. even for collection injection. 1. The @Order annotation in Spring Right from [Read More]
Kubernetes is an open-source tool available for managing the different containers. Kubernetes helps with the automation work in containers such as the deployment of containers, scaling those containers, and descaling the containers. Also if you want to distribute the load then Kubernetes provides the functionality to apply the load balancer as well. 1. History of Kubernetes Kubernetes(k8s) is a Greek [Read More]
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]
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]
Introduction Software Design patterns in java are a custom set of best practices that are reusable in solving common programming issues. They solve the most common design-related problems in software development. The basic idea for creating the Design patterns is creating the relationship between classes and objects in a different way resulting in fast development along with a more flexible, [Read More]
Abstract Factory Design pattern comes under the creational patterns and it shows many similarities to the Factory Pattern. The abstract factory works as a factory of factories which generates other factories by providing an extra abstraction layer. The generated factory from an abstract factory pattern always generates the object as per the factory design pattern. In other words, We can [Read More]
Builder Design Pattern solves the problem of constructing complex objects. In simple words, a situation when a class is having complex constructors or multiple numbers of parameters, it really becomes difficult to create objects in the same manner as the parameters are defined. Builder pattern solves the above problem through handling the situation by an object, rather than the multiple [Read More]