Reactive Programming in Spring Boot Application

In one of my previous post on this website, I had discussed about Reactive Programming, and how we can implement that in Java using RxJava. In this post, I will be discussing on building a Reactive Spring Boot Application. The application that I will build is going to be a very simple Restful API, which will have two endpoints. One endpoint will fetch the data synchronously. Another endpoint will fetch the same data asynchronously....

Last Updated March 27, 2022 · 11 min · 2343 words · Anshul Gautam

Reactive Programming using RxJava

🎯 What is RxJava? The official documentation defines it as: It is a Java VM implementation of Reactive Extensions. Reactive Extensions is a library for composing asynchronous and event-based programs by using observable sequences. In simpler terms, RxJava incorporates Reactive Programming paradigm in Java, and helps you consume data in motion, asynchronously. You don’t need to scan through the data in motion(pull based blocking calls), in fact the each data element in the motion will come to you(push based non-blocking calls)....

Last Updated March 25, 2022 · 11 min · 2192 words · Anshul Gautam

Spring Boot Refresher

This article helps to get an overview of Spring Boot. This will also be helpful to refresh your basic concepts on this topic quickly. 🎯 What is Spring Boot? Spring Boot is comprised of two separate words; ‘Spring’ and ‘Boot’. ‘Spring’ is the Spring Framework. This is the Java Application Framework which helps you write Java Enterprise Applications. ‘Boot’ is Bootstrap. Spring Boot helps you Bootstrap a Spring Application. Well, the official definition goes something like this: Spring Boot makes it easy to create stand-alone, production-grade Spring based applications that you can “just run”....

Last Updated March 8, 2022 · 4 min · 652 words · Anshul Gautam

Problem 11 - Prime Factors of a Number

How to find prime factors of a number using Java

Last Updated February 4, 2018 · 1 min · 148 words · Anshul Gautam

Problem 10 - LCM of Two Numbers

How to find LCM of two numbers using Java

Last Updated February 4, 2018 · 1 min · 166 words · Anshul Gautam

Problem 9 - GCD of Two Numbers

How to find GCD of two numbers using Java

Last Updated February 4, 2018 · 2 min · 307 words · Anshul Gautam

Problem 8 - Find Repeated Characters in a String

How to find repeated characters in a String using Java

Last Updated February 4, 2018 · 2 min · 228 words · Anshul Gautam

Problem 7 - Remove Duplicate Elements in Array

How to remove duplicate elements from the array using Java

Last Updated February 4, 2018 · 3 min · 558 words · Anshul Gautam

Problem 6 - Factorial of a Number

How to calculate factorial of a given number using Java

Last Updated February 4, 2018 · 2 min · 258 words · Anshul Gautam

Problem 5 - Armstrong Numbers

How to check to check if a given Integer is Armstrong number or not using Java

Last Updated February 3, 2018 · 2 min · 233 words · Anshul Gautam