Baeldung

Java, Spring and Web Development tutorials

 

Java Weekly, Issue 591
2025-04-25 08:35 UTC by baeldung

1. Spring and Java

>> Writing Unit Tests With MockMvcTester: Returning a List as JSON [petrikainulainen.net]

In this second post of his series on MockMvcTester, Petri Kainulainen demonstrates a practical example of testing a Spring MVC REST API endpoint that returns a list as JSON.

>> How ZGC Allocates Memory for the Java Heap [joelsiks.com]

Understanding memory allocation is always worth digging into, so that the JMV is no longer a black box.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical & Musings

>> The subtle art of waiting [frankel.ch]

A guide to using wait4x in Kubernetes to configure a service to wait until another service it depends on is ready; this helps avoid multiple pod restarts.

Also worth reading:

3. Pick of the Week

>> Writes and Write-Nots [paulgraham.com]

The post Java Weekly, Issue 591 first appeared on Baeldung.
       

 

Content mobilized by FeedBlitz RSS Services, the premium FeedBurner alternative.