Learn why local variables are thread-safe in Java.
Also find me here:
Baeldung Author
Martin van Wingerden
I'm a freelance software developer working and living in the Netherlands. Keen on solving complex problems and a domotica enthusiast.
Here's what I've written (so far):
Java Text Blocks
Filed under Java
Learn how to use the Java Text Blocks feature, incorporated as a standard feature since JDK 15.
Deny Access on Missing @PreAuthorize to Spring Controller Methods
Filed under Spring Security
Learn how to deny access by default on missing PreAuthorize annotations.
Debugging Java 8 Streams with IntelliJ
Learn about IntelliJ’s dedicated stream debugging feature with a few simple examples
Unable to Find @SpringBootConfiguration with @DataJpaTest
Filed under Spring Boot, Testing
Explore two different causes for the error: “Unable to find a @SpringBootConfiguration”.
Validations for Enum Types
Filed under Jakarta EE, Java
Learn how to build validations for enums using Java custom annotations.
Baeldung on Computer Science
Why Is an OPTIONS Request Sent?
Filed under Networking
Learn why an OPTIONS HTTP request is sent.
Clean Code: Naming
Filed under Programming
Explore best practices for naming and some practices you should rather avoid.
Clean Code: Comments
Filed under Programming
Let’s have a look at comments in code, their purpose, and some tips on the right use of comments.