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

 

 

Apache Solr Fuzzy Search Example

1. Introduction In this example we are going to build queries by using fuzzy search provided by Apache Solr. Fuzzy search is a powerful tool to find inexact matches in the Solr index. 2. Technologies Used The steps and commands described in this example are for Apache Solr 8.5 on Windows 10. The JDK version we use to run the ...

Read More »

Java Socket Programming

This article talks about sockets and socket programming with java examples. It begins with the basics and explains with an example of how they work. You can also check this tutorial in the following video: Socket Programming in Java – video 1. Introduction Java Socket Programming finds itself very useful for peer-to-peer communication between two Java programs running different JVM. ...

Read More »

Spring Boot with Redis Tutorial

Welcome readers, in this tutorial, we will see an interaction of Redis cache with a Spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring boot, Docker, and Redis. 1.1 What is Spring boot? Spring boot is a module that provides rapid application development feature ...

Read More »

Apache Solr Standard Query Parser Example

1. Introduction In this example, we are going to talk about one key component of Apache Solr: the Standard Query Parser. It is also known as “Lucene” query parser because Apache Solr is built upon Apache Lucene. Then we will show you how to use it in queries against our sample articles collection. Table Of Contents 1. Introduction 2. Technologies ...

Read More »

Jackson Exceptions – Problems and Solutions

1. Introduction In this example, we shall go through the most common Jackson API exceptions encountered while working for serialization and deserialization. We will see what caused the exception to be thrown and how to fix it. Let’s dive deep. Table Of Contents 1. Introduction 2. InvalidDefinitionException: No Creators, like default constructor, exist 3. MismatchedInputException: Out of START_ARRAY token 4. ...

Read More »

Deploying Multiple Spring Boot Microservices to Docker

Welcome readers, in this tutorial, we will show how to deploy multiple Spring Boot Microservices on Docker. 1. Introduction Before starting the tutorial, we will make an introduction to Spring Boot and Docker. 1.1 Spring Boot introduction Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready codeIt creates applications ...

Read More »

Apache Solr Function Query Example

1. Introduction In this example, we are going to explain what the Apache Solr Function Query is and how to use it in queries against our sample articles collection. 2. Technologies Used The steps and commands described in this example are for Apache Solr 8.5 on Windows 10. The JDK version we use to run the SolrCloud in this example ...

Read More »

Jackson Annotation Examples

This example is a deep dive into Jackson Annotations. It covers almost all the annotations with code examples. We will learn how to use the existing annotations, create our custom annotations and finally how to completely disable Jackson annotations. If you are new to the Jackson API for JSON serialization and deserialization, check out this article on Introduction to Jackson ...

Read More »

Java LocalDate Example

LocalDate class in Java 8 date time API represents a local date without time zone details. It is located in the java.time.LocalDate object. In this article, we shall look at some of the commonly used methods of LocalDate with some examples. 1. What is LocalDate LocalDate is an immutable thread-safe date-time object that represents a date, often viewed as year-month-day. ...

Read More »

Dependency Injection Java Example

In this article, we will examine Dependency Injection in Java and some dependency injection examples. You can also check this tutorial in the following video: Java Dependency Injection Tutorial – video 1. Introduction In a previous article, we explored the topic of Inversion of Control and how this design principle is appropriately suited for creating loosely coupled software applications. The ...

Read More »