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 tasks to … [Read more...] about Understanding Java Thread Pool with Example
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 and … [Read more...] about How to Build a Data Pipeline using Flink and Kafka
With the release of JDK 5, Java included a new feature that helped in simplifying the method creation which require or need to take a variable number of arguments. This feature is called varargs and it is short for variable-length arguments. In this … [Read more...] about Understanding Java Variable Length Arguments (VarArgs)
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 classes that give cutting-edge innovation for managing the group of … [Read more...] about Top 10 Java Collections Interview Questions and Answers
Monitoring Disk, Memory, and Threads in Java In this journal entry, we’ll be showcasing how to monitor Disk, Memory, and Threads using Core Java. For the Disk usage, we will make use of the File class of Java for querying the specific disk … [Read more...] about How to Monitor Disk, Memory, and Threads in Java?
In a multi-threaded environment, there is always a race between two or more threads attempting to update the mutable shared data at the same time. Java has offered a mechanism where we can avoid these race conditions. The mechanism is basically the … [Read more...] about Understanding 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. For example, it is not always difficult to find annotations in Java source code like @Override which is … [Read more...] about How to Create Annotations in Java?
The Java Platform, Standard Edition (Java SE) is used by wide variety of applications whether its a small applet on desktops or web services on large servers. In order to support this diverse range of deployments, the Java HotSpot VM provides … [Read more...] about Introduction to Java Garbage Collection Tuning (Part 1)
Most of the times developers are looking for the solution to convert java string to integer data type in java. In this journal entry, we will be talking about how we can convert a Java String to Integer data type. Convert Java String to … [Read more...] about How to convert Java String to Integer
Eclipse is one of the most popular IDEs with countless extensions and plugins for developers working in Java ecosystem. Eclipse provides a solid environment for developing, debugging, and running applications. In one of our previous journal entries, … [Read more...] about Eclipse Java IDE – Productivity Tips