Learn the advantages and disadvantages of the configuring a mock object the when().thenXxx() or the doXxx().when() way.
I'm a software engineer and electrical engineer who is always open to innovative technologies and new professional challenges from programming to managing my own business. My expertise is the Java ecosystem. My hobbies include playing the guitar, riding my motorbike, dancing and creating custom gadgets.
Here's what I've written (so far):
Baeldung on Java
- Java (9)
- Spring MVC (4)
- Spring (3)
- Spring Data (2)
- REST (2)
- Persistence (2)
- Testing (1)
- Spring Boot (1)
- Java Collections (1)
- Jackson (1)
- JSON (1)
- Algorithms (1)
Learn how to map a single Java entity to multiple database tables using JPA.
Explore how to configure your Java applications using command-line arguments.
Explore the properties and representation of composition, aggregation, and association in Java.
Learn how Epsilon works, and explore the common use cases.
Explore how Z Garbage Collector manages to keep low pause times on even multi-terabyte heaps.
Learn about the peek() method and explore the lifecycle of a stream.
Explore multiple ways of handling dynamic JSON objects with Jackson.
Explore several ways to remove leading and trailing characters from a String.
Learn how to model a many-to-many relationship in Java using JPA
Learn how to implement a Binary Heap and Heap Sort in Java.
A quick tutorial to using JPA Criteria Queries using Spring Data JPA.
In this tutorial, we’ll see multiple solutions to efficiently removing all occurrences of a value, describing the pros and cons.
Learn how to manipulate the HTTP response using the ResponseEntity class.
Have a look at the @ResponseStatus annotation and how to use it to set the response status code.
Explore the most commonly used Spring core annotations.
Explore the most common Spring scheduling annotations.
Explore the main annotations you can use to handle HTTP requests and responses in Spring MVC.
Explore the Spring Boot Annotations.
Learn about the most important annotations we need to handle persistence using the Spring Data project
Take a look at how to work with boolean values in Thymeleaf.