software engineer looking at an ipad

Introduction to HttpClient

Reading Time: 2 minutes Introduction HttpClient is used to send the request and receive a response. The HttpClient library was introduced in Java 11, before that developers had to use some third-party libraries such as Apache Http Client, OkHttp, or the legacy class HttpUrlConnection. It replaces the HttpUrlConnection class in the JDK since the early version of java. Consider a browser as a client and an application executing on Continue Reading

Liquibase Features and Advantages

Reading Time: 3 minutes Introduction Liquibase is one of the database version control tools that will stand multiple coders to rapidly manage database schema changes. The basic idea of Liquibase is to provide an automated way of generating database migration scripts to describe your DB Engine how to go from “Schema X” to “Schema Y”. Here “Schema X” can be any state database and “Schema Y” can be any Continue Reading

Database Management With Liquibase

Reading Time: 3 minutes Introduction Liquibase helps in managing the database objects without writing and without depending on SQL queries. This brings the concept of one query over multiple tables, a query written using database-neutral languages like XML, JSON, and YAML. Liquibase is a database change management tool. Suppose, in an application, you modify any tables for any requirements and if you want to revert to the old versions, Continue Reading

Getting started with Liquibase

Reading Time: 3 minutes Introduction Liquibase is an open-source tool. It is used for tracking, managing, and applying database schema changes. It works across different types of databases and supports various file formats for defining the database structure. The feature that is most attractive in Liquibase is its ability to roll changes back and forward from a specific point. In any application, if you change any tables for any requirements and if Continue Reading

Developing programmer Development Website design and coding technologies working

Getting Started with OAuth2

Reading Time: 4 minutes Introduction OAuth 2 is an authorization framework that enables applications like GitHub, Facebook, etc to obtain the limited access to user accounts on an HTTP service. OAuth 2 works by delegating user authentication to the service it hosts the user account and authorizing third-party applications to access that user account. Principles of OAuth2.0 OAuth 2.0 is NOT an authentication protocol, it is an authorization protocol. It Continue Reading

Introduction to Project Reactor

Reading Time: 4 minutes Introduction Reactive programming is supported by Spring Framework since version 5 and This support is built on top of Project Reactor. Project Reactor is a Reactive library for building non-blocking applications on the JVM and it is based on the Reactive Streams Specification. Project Reactor is the foundation of the reactive stack in the Spring ecosystem and it is being developed in close collaboration with Continue Reading

Introduction to Spring WebFlux

Reading Time: 3 minutes Introduction Spring 5 includes Spring WebFlux, which provides reactive programming support for web applications.  In this blog, we’ll create a small reactive REST application using the reactive web components RestController and WebClient. We’ll also look at how to secure our reactive endpoints using Spring Security. Spring WebFlux Framework Spring WebFlux internally uses Project Reactor and its publisher implementations, Flux and Mono. The new framework supports two programming models: Annotation-based Continue Reading

Apache Beam Core Transforms

Reading Time: 6 minutes Introduction Transform in Apache Beam are the operations in your pipeline, and provide a generic processing framework. You provide processing logic in the form of a function object (colloquially referred to as “user code”), and your user code is applied to each element of an input PCollection (or more than one PCollection). Core Beam transforms Beam provides the following core transforms, each of which represents a different processing Continue Reading


Introduction to the Spring Data JDBC

Reading Time: 4 minutes Introduction Spring Data JDBC, part of the larger Spring Data family, makes it easy to implement JDBC based repositories. It is a persistence framework that is not as complex as Spring Data JPA. It doesn’t provide cache, lazy loading, write-behind, or many other features of JPA. Nevertheless, it has its own ORM and provides most of the features we’re used with Spring Data JPA like mapped Continue Reading

grayscale photo of computer laptop near white notebook and ceramic mug on table

Entity To DTO Conversion for Spring REST API

Reading Time: 4 minutes Introduction In most enterprise architecture, you will have REST APIs. A consumer of these APIs sends a request and the server responds with a response. The transformation of request to response happens behind the API. You perform business logic and modify these objects. Traditionally, there are three layers in the architecture. Web layer, business layer, and database layer. So, your object in the database layer Continue Reading

Introduction to Apache Beam

Reading Time: 4 minutes Introduction Apache Beam (Batch + strEAM) is a unified programming model for batch and streaming data processing jobs. It provides a software development kit to define and construct data processing pipelines as well as runners to execute them. Apache Beam is designed to provide a portable programming layer. In fact, the Beam Pipeline Runners translate the data processing pipeline into the API compatible with the backend of Continue Reading

Introduction to the Spring Cloud Netflix – Eureka

Reading Time: 5 minutes Introduction In this blog, we’ll introduce client-side service discovery via “Spring Cloud Netflix Eureka.” Client-side service discovery allows services to find and communicate with each other without hard-coding the hostname and port. The only ‘fixed point’ in such an architecture is the service registry, with which each service has to register. One drawback is that all clients must implement a certain logic to interact with this fixed point. This assumes an Continue Reading

Setting Up Swagger 2 with Spring REST API

Reading Time: 4 minutes Introduction In this article, we’ll dive into the Swagger framework . We’ll use Swagger2 to design, build, and document a Spring Boot RESTful API and Swagger UI to observe our endpoints and test them. Nowadays, front-end and back-end components often separate a web application. Usually, we expose APIs as a back-end component for the front-end component or third-party app integrations. In such a scenario, it is essential to have proper specifications for Continue Reading