Type casting primitive data types in Java

This tutorial focuses on the different type-casting operations that could be performed in Java (such as double to int and vise verca), using primitive data-types, and the consequences from performing such operations. What is Type Casting? In programming, type casting is the process of “casting” a value of a certain data type, into a storage […]

Most popular 1TB SATA SSDs currently on the market (2019)

In recent years, the prices of solid state disks (SSDs) have decreased, making them more accessible to consumers. But with the decrease in price came also an increase in the number of options that are available to choose. The aim of this post is to provide an overview of the popular SATA interface SSDs that […]

Java BigDecimal, Dealing with high precision calculations

In this tutorial, we will discuss how to use the Java BigDecimal class to deal with calculations that require a high degree of precision, such as when dealing with currency conversion, taxes or even high accuracy mathematical calculations. Why do we need the BigDecimal class In Java a floating point or a fractional number can […]

ArithmeticException in Java – Causes & Treatment

In this tutorial, we will introduce a few examples that would highlight the causes of getting an ArithmeticException thrown within a Java program. We will discuss the common causes of the exception, and how these could be treated. What is an ArithmeticException? An arithmetic exception is an error that is thrown when an invalid arithmetic […]

Java ArrayIndexOutOfBoundsException – Causes & Fixes

In this tutorial, we will discuss what a Java ArrayIndexOutOfBoundsException is, what causes it and how to make sure that you avoid it. What is an ArrayIndexOutOfBoundsException An array-index out of bounds exception is a Java exception thrown due to the fact that the program is trying to access an element at a position that […]

Spring Boot and Docker example on Windows

In this tutorial, we will discuss how to create a docker container from a Spring Boot application and how to run it in a Windows environment. Most of the tutorials I encountered related to creating Spring Boot containers were focused on Linux, so I thought I would share my experience creating docker containers of your […]

Getting started with Reactive Programming and Reactor Core

Before getting into this tutorial, I recommend that you read our “Understanding reactive programming in Java” post, as it will lay down the foundation to what we will do in this tutorial and will make things a lot easier to understand. In this post, we will go through a sequence of steps that will allow […]

Understanding reactive programming in Java

In this post, we will discuss the principles of reactive programming, which problems is it trying to solve and discuss the basics of reactive programming in Java. This tutorial will focus on the usage of reactive programming in Java but the principles and ideas discussed in this tutorial can apply to other programming languages. This […]

Scroll to top