Tags Java

Tag: java

How To Avoid NoSuchElementException – Java Streams

In this journal blog, we will have a look at the solution for the problem "How To Avoid NoSuchElementException" while working with Java Streams. Lets...

How To Create Spring Boot Console Application

In this quick journal entry, we'll explore how to create Spring Boot Console App. It will be a very simple console-based application. For creating this...

How to Handle Exceptions in Spring Boot

We will be learning on how we can properly handle exceptions in Spring Boot applications.

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

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

Most Read