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 OpenNLP Tutorial – Part 1

This is an article about Apache Solr OpenNLP. 1. Introduction Natural Language Processing (NLP) is a field focusing on processing and analyzing human languages by using computers. Using NLP in a search will help search service providers to have a better understanding of what their customers really mean in their searches, thus to run search queries more efficiently and to ...

Read More »

Jackson vs Gson: A Deep Dive

This is a tutorial about Jackson vs Gson. Specifically, we will do a quick comparison of the libraries Gson and Jackson for serialization of a Java object to its JSON representation and deserialization of JSON string back to an equivalent Java object. We will talk about the benefits of each and see which library to use when. 1. Maven Dependencies ...

Read More »

Thread.sleep Java Example

In this article, we’ll discuss about thread.sleep in Java along with some examples. We’ll start by explaining some details on threads, the importance of sleep method, and then we will use examples of the sleep method. 1. What is a thread in Java Threads are lightweight processes that allow concurrent execution of multiple activities. It allows us to perform synchronous ...

Read More »

Apache Ant Command Line Arguments Example

1. Introduction In this example, we will explain Apache Ant Command Line Arguments. In software development, the term building usually means the conversion of source code and other artifacts, like images or configuration files, into another artifact. For example source code might be compiled into a JAR file, or you may create a new standalone application. The build result can be shared ...

Read More »

Spring Boot Pagination Tutorial

In this tutorial, we will see the basic concepts of pagination with a simple 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 Pagination. We are using Docker to communicate with PostgreSQL. 1.1 What is Spring boot? Spring boot is a ...

Read More »

Hive JDBC Connection Java Example

1. Introduction In this article, we will take a look at Hive JDBC. Hive is part of the Hadoop Ecosystem. It is used in Big Data solutions with Hadoop. It was developed by Facebook. Hadoop is an Apache Opensource project now. 2. Hive – JDBC Connection The Apache Hive project has featured in reading, writing, and managing big data. It ...

Read More »

Spring REST Docs Example

Welcome to the Spring REST Docs Example. So you have written your Web API and now you must provide documentation so that other people can use it. Spring REST Docs helps you document your RESTful services. The beauty of Spring REST Docs is whilst you are writing unit tests, you can use these tests to generate documentation for your HTTP ...

Read More »

Jackson Bidirectional Relationships

In this example, we will go through the Infinite Recursion (StackOverflowError) problem, when working with Bidirectional Relationships in Jackson model classes. We will also see different techniques to serialize and deserialize such entities. If you are new to Jackson, it is good to go through this primer on ObjectMapper before proceeding with this example. 1. What is a Bidirectional Relationship? ...

Read More »

Selenium Java Introduction

This article its a Selenium tutorial that explains how to run selenium tests in Java language. 1. What is selenium Selenium is used to automate browsers. Selenium supports various programming languages such as C#, Haskell, Java, JavaScript, Python, and Ruby through Selenium drivers. It supports various browsers such as Chrome, Firefox, Safari, Opera, and Internet Explorer. 2. When is selenium ...

Read 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 »