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

 

Receive Java & Developer job alerts in your Area

I have read and agree to the terms & conditions

 

MongoDB Authentication Example

Hello readers, these days authenticating a user is an important practice to keep the data integrity in a database. In this tutorial, we will see how to set up authentication in the MongoDB database. 1. Introduction If you have installed the MongoDB application on Windows or Ubuntu operating system and you wish to run the MongoDB database in a secure ...

Read More »

MongoDB vs MySQL Example

1. Introduction These days, when it comes the time to select a database, one of the toughest decision for the developers is picking a relational or a non-relational database. While both are achievable alternatives, there are definite differences that developers must keep in mind when making a conclusion. In this tutorial, we will learn the important differences between the MongoDB ...

Read More »

Spring Integration Custom Transformer Example

1. Introduction Spring Integration provides a transformer mechanism to convert message payloads from one form to another between two channels. In this article, we will see how to implement a simple custom transformer. 2. Application The application is a Spring Boot application in which a Map is sent to a message channel. A Spring Integration Transformer listens to the message ...

Read More »

Android Web App Example

Nowadays, mobile applications are trending so much that, most of the websites have their Android application. Android made it so simple that one can convert their websites to application or can open web page in their application by using WebView. This tutorial walks you through the concept usage ant its implementation.                 Table ...

Read More »

Java 8 Convert a String to LocalDate Example

Bipartite Graph

Hello readers, in this tutorial, we will learn how to convert a given response string into a java.time.LocalDate object. 1. Introduction These days in the programming universe Date and Time handling are the most time-consuming tasks in Java. In the ancient Java world, developers were dependent on the complex SimpleDateFormat class to convert and format the Date strings into the ...

Read More »

Java 8 Filter Null Values from a Stream Example

Bipartite Graph

Hello readers, in this tutorial, we will learn how to filter the null elements from a Stream in Java. 1. Introduction Java Stream is a sequence of elements that support the sum operations. In streams, the elements are reckoned on demand from different data sources such as Collections, Arrays or I/O resources and thus the elements are never stored. Streams ...

Read More »

Java 8 Map Sorting Example

Bipartite Graph

Hello readers, in this tutorial, we will learn how to Sort a Map using Java8 Stream’s API and Lambda expression. 1. Introduction These days in the programming universe sorting a map is one of the most habitual tasks in Java. In the ancient Java world, developers could sort a Map either by its keys or values. In Java8, JDK developers ...

Read More »

Log4j Priority Example

This article is a tutorial about log priority levels in Log4j. In this tutorial, we are going to configure log4j via property files. 1. Introduction Log4J (Java) is a widely used logging framework for Java. It continues to grow continuously with the recent upgrade to Log4j2. Log4j supports logging via Logger, Appender and Layouts. Logger is the interaction point for ...

Read More »

ByteCode primer for Java Class Files

Bipartite Graph

It is often stated that to be good at the programming language you code in, one should at least dig and understand one abstraction level lower than the one in which you are coding. For Java, that would be the JVM, which would imply byte code. In this article we will kick start our adventures in Java byte code. Byte ...

Read More »

Spring Boot Logging Example

Looking to learn about Spring Boot Logging? Read this example, it is very straight forward and simple. 1. Assumptions This article assumes that you know your way around Eclipse. You are familiar with Maven. This project has been created using Eclipse Mars so all instructions are based on this IDE. This article uses the code base from the Spring Boot ...

Read More »