Java

Asserting Lists with AssertJ

In tests, we need to add assertions to make sure that a result is the expected result. For this, we can make use of the AssertJ assertion library.

Read more

Per-Environment Logging with Plain Java and Spring Boot

Application logs are the most important resource when it comes to investigating issues and incidents. Imagine something goes wrong during your on-call rotation and you don’t have any logs!

Read more

Feature Flags in Java with Togglz and LaunchDarkly

With feature flags, we can reduce the risk of rolling out software changes to a minimum. We deploy the software with the changes, but the changes are behind a deactivated feature flag.

Read more

Creating and Analyzing Thread Dumps

A thread is a basic path of execution in a program. Most of the applications we build today execute in a multi-threaded environment.

Read more

Designing an AWS CDK Project with Java

In the article “Getting Started with AWS CDK”, we have already deployed a Spring Boot application to AWS with the CDK.

Read more

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