Browsing Tag

java

Understanding BlockingQueue in Java

BlockingQueue interface in Java was first introduced in Java 1.5. BlockingQueue interface supports flow control by introducing blocking if either BlockingQueue is full or empty. All methods of BlockingQueue are atomic in nature and

Change Context Path in Spring Boot Application

The default context path of the Spring Boot application is the root context path("/"). Usually, conventions are preferred over configuration; however, there may be cases when we want to have a custom context path of our application. In

How to Transfer file through SFTP in Java

In this journal entry, we will be looking at the methods on how to transfer a file through SFTP in Java on a remote server. The main point of focus is basically uploading and downloading the files from a remote server using SFTP. We

Understanding null in Java

Java and null share a unique bond. Almost all of the Java developers get trouble with the NullPointerException and this is the most infamous fact about null and Java. In this journal, we will be understanding null in Java. Null was

Understanding Java Thread Pool with Example

In this journal entry, "Understanding Java Thread Pool", we will be answering to the question "Why the application need a thread pool?". Well the answer to this is when we develop a simple application in Java which needs some concurrent

How to Build a Data Pipeline using Flink and Kafka

In this journal blog, we are going to have a look at how to build a data pipeline using Flink and Kafka. But before we start let's first understand what exactly these two technologies are. Apache Flink is a stream processing framework