Learn about what busy-waiting is and some alternatives in Java.
Also find me here:
Baeldung Author
Aleksandar Pelanovic
As a software developer, Java is my main area of interest. I enjoy sharing knowledge and learning new things. I'm a huge tech fanatic and can discuss phones, drones, software, and hardware daily.
Here's what I've written (so far):
Baeldung on Java
- All
- Spring (2)
- JPA (2)
- Spring WebFlux (1)
- Persistence (1)
- Java Concurrency (1)
- Java Collections (1)
- Jakarta EE (1)
Set Multiple Headers at Once in Spring WebClient
Filed under Spring WebFlux
Explore how Spring WebClient handles headers and learn several ways to set multiple headers.
How Hibernate Dirty Checking Mechanism Works
Filed under JPA
Learn about Hibernate’s dirty checking mechanism and understand how it automatically synchronizes entity changes with the database.
Fix the Exception “Cannot issue data manipulation statements with executeQuery()”
Filed under Persistence
Learn what causes the “cannot issue data manipulation statements with executeQuery()” JDBC error and understand how to fix it.
What Is chain.doFilter() Doing in Spring Filter?
Filed under Spring
Explore filters, the filter chain, and the correct use of the chain.doFilter() method in Spring.
EntityManagerFactory vs. SessionFactory
Filed under JPA
Learn about the similarities and difference between EntityManagerFactory and SessionFactory.
Map Iterable to Object Containing Iterable With Mapstruct
Filed under Java Collections
Learn how to map an Iterable to an object containing an Iterable using the MapStruct library in Java.
Do Spring Prototype Beans Need to Be Destroyed Manually?
Filed under Spring
A quick and practical explanation of manual bean destruction in Spring.
@Valid Annotation on Child Objects
Filed under Jakarta EE
Learn how to use the @Valid annotation.