Home Java

Java

How to set $JAVA_HOME environment variable on Mac OS X

In this journal entry we will see how we can setup the $JAVA_HOME environment variable on Mac OS X 10.5 or later versions. From OS...

How to find the size of a directory, using Hadoop?

The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple...

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...

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...

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...

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...

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...

Understanding Java Variable Length Arguments (VarArgs)

With the release of JDK 5, Java included a new feature that helped in simplifying the method creation which require or need to take...

Top 10 Java Collections Interview Questions and Answers

The package java.util contains one of the Java’s most powerful subsystems: the Collections Framework. The Collections Framework is a modern chain of the importance of interfaces and...

How to Monitor Disk, Memory, and Threads in Java?

In this journal entry, we’ll be showcasing how to monitor some of the key metrics like disk usage, memory usage, and CPU usage using Core Java.

Understanding Java Synchronized Keyword

In this journal entry we will be having a close look at the Java Synchronized Keyword.

How to Create Annotations in Java?

Annotations have been a powerful part of Java, but most times we tend to use them rather than create them. In this journal entry, we will be having a look at the creation process of Annotations in Java.

Most Read