
MaxRAMPercentage and Container Awareness for the JVM
How the JVM reads container limits: MaxRAMPercentage, InitialRAMPercentage, MinRAMPercentage, availableProcessors and how to confirm what the JVM sees.
Everything you need to level up your coding skills.

How the JVM reads container limits: MaxRAMPercentage, InitialRAMPercentage, MinRAMPercentage, availableProcessors and how to confirm what the JVM sees.

Compare microservices and a monolith by team size, deployment, data and operations, and see why a modular monolith is the right starting point for most.

Replace a bean with a Mockito mock in a Quarkus test using @InjectMock, understand scope rules, Mockito.when stubs and when to use alternatives or a CDI mock.

Run JSF pages inside Spring Boot: the JoinFaces starter, Mojarra setup, Spring beans in EL, scopes, Spring Security login and packaging as a jar.

Generate tests at runtime in JUnit with TestFactory, DynamicTest and DynamicContainer, and learn how they differ from parameterized tests.

Set up Java remote debugging with the JDWP agent, connect from jdb or an IDE, reach a container or Kubernetes pod safely and avoid exposing the port.

Compare Struts 2 and Spring MVC on programming model, configuration, security history, testing and ecosystem, and when staying on Struts 2 is the right call.

Migrate a Play 2.8 application to Play 3: go through 2.9 first, update sbt and Java, swap Akka for Pekko, fix removed APIs and verify before deploying.

Compare Micronaut and Quarkus on developer experience: project setup, dev mode, dependency injection, testing, extensions, native builds and documentation.

Fix the Gradle error about resolving a configuration by adding repositories, matching Java versions with a toolchain and reading the nested cause.

Fix No suitable driver found by checking the driver jar is on the runtime classpath, the URL prefix is right and the registration survived packaging.

Fix the Java cannot find symbol compile error by reading the symbol and location lines, then checking the spelling, import, scope and classpath in that order.
We send one email when a new post is published. No spam.