Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!


1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions


and many more ....



Java 8 Read a File Line by Line Example

Hello readers, in this tutorial, we will learn the Java8 Stream’s API for reading a file’s content line-by-line and we will explore its different characteristics. 1. Introduction These days in the programming universe reading the file content is one of the most habitual files manipulation task in Java. In the ancient Java world, the code to read the text file ...

Read More »

Java 8 StringJoiner Example

Hello readers, in this tutorial, we will learn about the Java8 Stream’s API StringJoiner feature and we will explore its different characteristics. 1. Introduction These days in the programming universe joining multiple strings are a common task among the developers. In the ancient Java world, there was no direct way to join the multiple strings. Java8 has introduced a final ...

Read More »

Java 8 flatMap Example

Hello readers, in this tutorial, we will learn about Java8 Streams API flatMap() method and in which structure it can be used. 1. Introduction A flatMap() method is a Java8 programming operation which takes a single function as an argument. This function accepts the T parameter as an input argument and returns a stream of R parameter. When this function ...

Read More »

Android Application Class Example

We all know there is an Application class in the Android API, that is usually used for maintaining global application state but how does it work? In this article, let’s explore it with the help of examples and discuss its advantages & disadvantages. Table Of Contents 1. Introduction 2. Callback Methods 3. Creating the Application 3.1. The Activity File 3.2.The ...

Read More »

Java 8 Convert a List to Map Example

Hello readers, in this tutorial, we will learn how to convert a List<?> to a Map<K,V> using Java8 Streams API. 1. Introduction The most common task in Java programming is to convert a List of the object e.g. List<?> into a Map e.g. Map<K,V> where K is some property of the object and V is the real object. For e.g., ...

Read More »

Java 8 forEach Example

Hello readers, Java8 came up with a new feature to iterate over the Collection classes, by using the forEach() method of the Iterable interface or by using the new Stream class. In this tutorial, we will learn how to iterate over List, Set and Map using the Java forEach() method. 1. Introduction From Java 8 on, developers can iterate over ...

Read More »


1. Introduction Java Architecture for XML Web Services (JAX-WS) is a Java programming language for creating web services, particularly SOAP services. Java Architecture for XML Binding (JAXB) is a Java-XML binding technology that simplifies the development of web services by enabling transformations between a schema and Java objects, and also between XML instance documents and Java object instances. Both JAX-WS ...

Read More »

Log4j Specific File Location Example

This article is a tutorial about logging to files in specific location. We will first checkout other logging methods and then proceed to log to a specific location. 1. Introduction Log4J(Java) is the widely used logging framework for Java. It continues to grow continuously with recent upgrade of Log4j2. Log4j helps to log files to a file or console or ...

Read More »

Java Swing JTextField Example

Swing offers us components through which users can type in text input. JTextField is one such component which is used to allow applications to accept single line input. Even user can go for standard operations like copy, paste, cut, delete. 1. Introduction Swing offers several components to ease user experience while typing in text or edit text. Different such are ...

Read More »

Android Logging Example

1. Introduction Being an Android developer, all of you might have heard of logging. Well if not, this tutorial will guide you with the concept usages and its implementation. Let us start with the quick introduction of the concept about what it is and why it is used. LOG in a simple language can be defined as ”record of events”. ...

Read More »