Java

Clean Unit Tests with Mockito

In this article we will learn how to mock objects with Mockito. We’ll first talk about what test doubles are and then how we can use them to create meaningful and tailored unit tests.

Read more

Getting Started With Java: Build a Robot Arena

You are just beginning your programming career? Or you have dabbled a bit in programming but want to get into Java?

Read more

Using Maven’s Bill of Materials (BOM)

As Java developers, we may maintain many applications using Maven for their dependency management. These applications need upgrades from time to time to be up to date and to add new features or security updates.

Read more

Implementing Plugins with Java’s Service Provider Interface

In this article, we are going to talk about Java’s Service Provider Interface (SPI). We will have a short overview of what the SPI is and describe some cases where we can use it.

Read more

Deploying a Spring Boot App with the AWS CDK

In the article “Getting Started with AWS CloudFormation”, we have already played around a bit with AWS CloudFormation. We have deployed a network stack that provides the network infrastructure we need, and a service stack that deploys a Docker image with our Spring Boot application into that network.

Read more

Creating and Analyzing Java Heap Dumps

As Java developers, we are familiar with our applications throwing OutOfMemoryErrors or our server monitoring tools throwing alerts and complaining about high JVM memory utilization.

Read more