Author: Deepak Kumar

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

Exception Handling in JAVA

Reading Time: 5 minutes Introduction to Exception Handling An exception is a problem that arises during the execution of a program and It can occur for various reasons say- A user has entered an invalid data File not found A network connection has been lost in the middle of communications The JVM has run out of a memory Exception Handling mechanism follows a flow which is depicted in the Continue Reading