Tech Blogs

EIP Pattern in Apache Camel (Part – 2)

Reading Time: 3 minutes This is Part 2 of an ongoing series of blogs explaining the EIP patterns (Enterprise Integration Patterns) in Apache camel. This blog is going to take you a step ahead and help you know more about the various EIP patterns such as WireTape, Multicast, and RecipientList EIP pattern WireTap pattern A wireTap pattern is used to filter messages based on content and read data from Continue Reading

Introduction to Apache HttpClient

Reading Time: 5 minutes Introduction Apache HttpClient is a popular open-source library for sending HTTP requests and receiving HTTP responses in Java. It provides a rich set of features for building HTTP-based client applications, including support for authentication, connection pooling, request and response interception, and more. One of the key benefits of Apache HttpClient is its flexibility and configurability. You can customize almost every aspect of the HTTP request Continue Reading

How WebClient is different from RestTemplate?

Reading Time: 3 minutes Overview WebClient and RestTemplate are two popular ways to make HTTP requests in a Java application. While WebClient and RestTemplate both allow you to interact with RESTful web services, there are some key differences between the two. What is WebClient? WebClient is a newer HTTP client introduced in Spring 5. It’s a non-blocking, reactive HTTP client designed for use with Spring WebFlux. WebClient is built Continue Reading

react application

How To Render Charts In React: using react-chartjs-2 and Chart.js

Reading Time: 3 minutes React is a well-liked JavaScript package that gives programmers more effective and orderly ways to create user interfaces. There are many third-party libraries to pick from when it comes to data visualization in React. React-chartjs-2, which is based on Chart.js, is one of the most widely used libraries for rendering charts in React. In this blog post, we’ll look at how to render charts in Continue Reading

react application

Best Practices and Tools For Testing React Applications

Reading Time: 3 minutes One of the most widely used front-end libraries today is react, and for a good reason. It has emerged as a top option for web developers worldwide thanks to its modular design, reusable components, and quick rendering capabilities. However, developers must ensure that their React applications are adequate. Tested to ward off any potential defects or problems because great power comes with great responsibility. We Continue Reading

Spring WebFlux — Error Handling

Reading Time: 3 minutes Introduction In this Blog, we’ll take a look at the Spring WebFlux Error Handling using @ControllerAdvice. While calling the services/micro-services anything could go wrong and result in 500 “Internal Server Errors” as shown below error: Usually, error messages like this will not be handled properly and would be propagated to all the downstream services which might impact the user experience. In some cases, applications might want to use Continue Reading

Introduction to Reactive Programming

Reading Time: 4 minutes Overview In recent years, Reactive programming has gained popularity. Now it is frequently utilized programming paradigm in the creation of cutting-edge, responsive, and scalable systems. Based on the concepts of asynchronous data streams, reactive programming offers a method for handling events and data flows non-blocking and responsively. In this blog post, we will provide an introduction to Reactive Programming and explore its key concepts and Continue Reading

Swagger with Spring REST API

Reading Time: 5 minutes Swagger with Spring REST API REST is the ultimate way to expose web services nowadays. But, how do state to clients and how to use a REST API? There’s no real standard or at a minimum de facto standard to expose a REST contract. Many API spots human-readable documentation, which is currently edited and thus hard to keep perfectly synchronized with the API. Another process Continue Reading

Reactive Programming: Spring WebFlux

Reading Time: 3 minutes Reactive Programming Reactive has specific characteristics that make them ideal for low-latency, high-throughput workloads. Project Reactor and the springWebflux work together to enable developers to build enterprise-grade reactive systems that are responsive, resilient, elastic, and message-driven. What is reactive processing? Reactive processing is a paradigm that enables developers to build non-blocking and asynchronous applications which can handle back-pressure (flow control). Why use reactive processing? Reactive Continue Reading

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

Introduction To Resilience4j: What It Is And How To Use It With Examples

Reading Time: 4 minutes Resilience4j is a library that helps to build resilient and fault-tolerant applications in Java. It provides an easy way to add fault tolerance to your existing code base and offers a wide range of features for better control over the failure-handling process. In this article, we will introduce Resilience4j and how it can be used with some examples. So let’s dive in! What is Resilience4j? Continue Reading

How to migrate Scala 2.13 project to Scala 3?

Reading Time: 9 minutes Are you a Scala developer looking to migrate your existing Scala 2.13 projects to the latest version of the language? If so, you’ll be happy to know that Scala 3 is now available and comes with a range of new features and improvements. With its streamlined syntax, improved performance, and better compatibility with Java 8 and above, Scala 3 offers a host of benefits for Continue Reading

Getting started with Spring Boot 3.0

Reading Time: 6 minutes Introduction Spring Boot is a popular framework for building web applications and microservices in Java. The latest version, Spring Boot 3, released in September 2021. And it brings a number of new features and improvements to the framework. One of the main new features in Spring Boot 3 is support for Java 16. This means that developers can now take advantage of the latest features. Continue Reading