Author: Deepak Kumar

a man wearing a virtual reality headset

Resilience4j Circuit Breaker with Spring Boot

Reading Time: 2 minutes Resilence4j Resilience4j is a Java library that provides several resilience patterns for building fault-tolerant applications. It is designed to help developers write resilient, fault-tolerant, and scalable applications with minimal effort. Resilience4j is designed to be easy to use and integrate into the applications. It also provides a flexible configuration system that allows developers to customize the behavior of each resilience pattern to suit their specific Continue Reading

ebook-2

Evolving Database using Spring Boot and Liquibase

Reading Time: 3 minutes Introduction In this Blog, we will see an example of evolving database using Spring Boot and Liquibase with YAML and SQL configuration. Here we will learn how to build applications using maven build tools. Liquibase is an open-source library for tracking, managing, and deploying database changes that can be used for any database. It helps you create the schema, run them during deployment, and also Continue Reading

Flyway vs Liquibase

Reading Time: 2 minutes Introduction There are two open source-based tools for database version control Liquibase and Flyway. These are popular options for organizing database changes and database versioning, deploying changes when they need to be deployed, and tracking what’s been deployed. Those who have ever developed any software will tell you, you shouldn’t develop application code without version control and also same is true for database code. So, Continue Reading

Digital business and technology

Database Versioning with Spring Boot and Liquibase

Reading Time: 3 minutes What is Liquibase Liquibase is an open-source database-independent library for tracking, managing, and applying database schema changes. Basically, it works with various types of databases and supports various file formats for defining the database structure. The feature that is probably most useful in Liquibase is its ability to roll changes back and forward from a specific point and save you from needing to know what was the last Continue Reading

Man working at night coding and pointing on a screen with a pen

Adding Swagger to Quarkus

Reading Time: 2 minutes Introduction Open API or Swagger specification is the factual standard for creating REST APIs. Almost every developer expects to see some Swagger documentation when working with APIs or doing integration. In this blog, we will go through how to add Swagger to Quarkus application Add Open API dependency Here we need to add the quarkus-small rye-open API to the project, It will generate an OpenAPI dynamic schema Continue Reading

Quarkus with Hibernate

Reading Time: 2 minutes What is Quarkus Quarkus was developed to enable Java developers to create applications for a modern, cloud-native world. It is a Kubernetes-native Java framework tailored for GraalVM and HotSpot, crafted from best-of-breed Java libraries and standards. The basic goal is to make Java the leading platform in Kubernetes and serverless environments while offering developers a framework to address a wider range of distributed application architectures. Continue Reading

Concluding deal with coding company

Quarkus vs SpringBoot

Reading Time: 3 minutes When you look at the advanced programming frameworks popular among developers, you will notice that Quarkus and SpringBoot hold prominent places. Let’s understand and compare the two. The Java ecosystem has been changing fast. Some of the most significant changes have come from the rise of microservices, containers, and cloud computing. We’ve seen many new frameworks and tooling emerge to support these changes. For example, Continue Reading

Google Cloud Pub/Sub: Asynchronous Messaging Service

Reading Time: 3 minutes What Is Cloud Pub/Sub? Cloud Pub-Sub is a real-time messaging service offered by Google for applications to publish and subscribe to events. Google Cloud Pub/Sub provides messaging between applications and is designed to provide reliable, many-to-many, asynchronous messaging between applications. Publisher applications can send messages to a “topic” and other applications can subscribe to that topic to receive the messages. Pub/Sub= Publisher-Subscriber One can publish the message Continue Reading

Project Loom

Reading Time: 4 minutes 1. Project Loom Project Loom is an attempt by the OpenJDK community to introduce a lightweight concurrency construct to Java. The prototypes for Loom so far have introduced a change in the JVM as well as the Java library. Before we discuss the various concepts of Loom, let’s discuss the current concurrency model in Java. 2. Java’s Concurrency Model Presently, Thread represents the core abstraction of concurrency in Continue Reading

Introduction to Apache Beam

Reading Time: 3 minutes What is Apache Beam? Apache Beam is an open source and centralised model for describing parallel-processing pipelines for both batch and streaming data. Therefore programming model of the Apache Beam simplifies large-scale data processing dynamics. The Apache Beam model offers helpful abstractions that insulate you from distributed processing information at low levels such as managing individual staff, exchanging databases, and other activities. So these low-level Continue Reading

Lambda Expression and functional Interface

Reading Time: 2 minutes 1. Lambda Expressions Lambda Expressions were added in Java 8. A lambda expression is a short block of code which takes in parameters and returns a value. Lambda expressions are similar to methods, but they do not need a name and they can be implemented right in the body of a method. 1.1. Syntax A few basic syntaxes of lambda expressions are: A typical lambda expression Continue Reading

Reactive Programming : Spring

Reading Time: 3 minutes Reactive programming is a programming paradigm that promotes an asynchronous, non-blocking, event-driven approach to data processing. Reactive programming involves modeling data and events as observable data streams and implementing data processing routines to react to the changes in those streams. In the reactive style of programming, we make a request for the resource and start performing other things. When the data is available, we get Continue Reading

Java 8 Stream

Reading Time: 3 minutes Java 8 changed the way we usually code in Java by introducing some Functional Programming concepts. It brings features like lambda expressions and Streams, which give birth to new patterns that result in clean code in Java.In this blog we would talk about one of the features of Java 8 which is Streams. The java package java.util.stream contains classes to support functional-style operations on streams i.e. map, filter etc. Streams Continue Reading