BACK

Turn runtime exceptions into startup exceptions - Spring Boot Startup Validator

11:10 - 11:50, 24th of May (Wednesday) 2023/ DEV JAVA STAGE

One of the benefits of compiled languages over the non-compiled ones is ability to catch bugs at compile time. However, developers are still facing problems resulting from bad configuration or bad environment.

Wouldn't it be nice to turn at least some runtime exceptions into startup ones? In this lecture I'll share with you the idea of aggressive validation of configuration and environment at startup in order to avoid any errors later down the line. 

I'll also showcase a simple solution for Spring Boot developers in form of a simple open-source library.

LEVEL:
Basic Advanced Expert
TRACK:
Programming Java
TOPICS:
Java SoftwareEngineering

Bartosz de Boulangé

Bank Gospodarstwa Krajowego