Learn two simple approaches for unmarshalling JSON arrays using camel message routing and the camel-jackson component.
Baeldung Author
Jonathan Cook
Jonathan has more than 10 years of experience as a Senior Software Engineer with a focus on Java. He is particularly passionate about testing and ensuring the quality of the systems he is responsible for. He has contributed to several open source projects and can now be found in Spain looking after the ESA science archives.
Here's what I've written (so far):
Spring Boot With Spring Batch
Filed under Spring Boot
Learn how to create a simple Spring Batch job using Spring Boot.
Testing Kafka and Spring Boot
Filed under Data, Spring Boot, Testing
Learn about a couple of approaches for testing Kafka applications with Spring Boot.
Guide to the System Rules Library
Explore the System Rules library in detail.
Unit Testing of System.out.println() with JUnit
Learn about approaches for testing System.out.println.
Taking Screenshots With Selenium WebDriver
Filed under Testing
Explore two approaches to capturing screenshots using Selenium WebDriver.
Getting the Week Number From Any Date
Filed under Java
Learn how to get the week number for a given date in Java.
How to Call Python From Java
Filed under Java
Learn the most common ways of calling Python code from Java.
Pattern Matching for instanceof in Java 14
Filed under Java
Learn about the Pattern Matching with instanceof in Java 14.
Check for null Before Calling Parse in Double.parseDouble
Filed under Java
Learn how to check for null before converting a string to a double using Double.parseDouble.
Mockito and Fluent APIs
Filed under Testing
Learn how we can use Mockito to mock a simple fluent API.
Guide to JUnit 4 Rules
Filed under Testing
Learn how to use the JUnit 4 Rules Model to extend the behavior of JUnit tests
JUnit 5 TestWatcher API
Filed under Testing
Learn how you can process the results of test method executions using the JUnit TestWatcher.
JUnit 5 Temporary Directory Support
Filed under Testing
Learn how to use a temporary directory for JUnit tests, with the @TempDir annotation
Mockito Strict Stubbing and The UnnecessaryStubbingException
Filed under Testing
Understand the reasons behind the Mockito UnnecessaryStubbingException and how to avoid it.
Guide to java.lang.ProcessBuilder API
Filed under Java
An in-depth look at using the ProcessBuilder API to manipulate OS processes
Verbose Garbage Collection in Java
Filed under Java
Learn how to enable verbose GC in Java and how to interpret the resulting logs.
Merging java.util.Properties Objects
Filed under Java
A quick and practical guide to merging Properties objects.
Exploring the Jersey Test Framework
Filed under Jakarta EE, Testing
Learn how to make use of the test support in Jersey.
Warning: “The type MockitoJUnitRunner is deprecated”
Filed under Testing
Learn how to handle the MockitoJUnitRunner class deprecation warning.