David Vlijmincx
Posts
Tags
Categories
Talks
Books
About me
David Vlijmincx
Cancel
Posts
Tags
Categories
Talks
Books
About me
Categories
Java
Optionals in Java
If and Switch Statements in Java
Exception Handling in Java with Code Examples
Loops in Java: For, for-each, While, and Do-While
Enum explained with code examples in Java
More >>
Testing
Mockito using thenReturn and thenAnswer
How to use the Mockito's inline mock maker
Benchmarking Java code with JMH
Repeated test JUnit 5
Conditional Test Execution with Annotations JUnit 5
More >>
Multithreading
Virtual vs Platform Threads for API Calls
Virtual vs Platform Threads When blocking operations return too fast
Create a Thread with Runnable in Java
Extending the Thread class in Java
Future with Virtual threads
More >>
Mockito
Mockito using thenReturn and thenAnswer
How to use the Mockito's inline mock maker
Mockito: Return value based on stub input arguments
Mockito Create Spy
Mock constructor calls with Mockito 5
More >>
Quick solutions
Read a file from resources directory
Create a Thread with Runnable in Java
Extending the Thread class in Java
Lifecycle methods JUnit 5 and 4
Test validation annotations in unit tests
More >>
Virtual threads
Future with Virtual threads
How to create virtual threads Java 21
Pinned virtual threads
Use executorservice with virtual threads
Naming virtual threads
More >>
Junit
Repeated test JUnit 5
Conditional Test Execution with Annotations JUnit 5
Mockito with JUnit 5
Set display name Junit tests
Use CSV source for parameterized test
More >>
Loom
Naming virtual threads
Grouping virtual threads
Use virtual threads as tasks
Java virtual threads
How to create your own custom StructuredTaskScope
More >>
Jakarta
Build a REST API with Java
Helidon quickstart with an IDE
Jakarta @PathParam annotation
Jakarta EE REST API HTTP methods
Jakarta REST API with Java SE
Foreign functions
Improve performance of Foreign memory and functions bindings in Java
Java arena types explained
Call C method from Java
Upcall Java code from C code
Programming Fundamentals
Optionals in Java
If and Switch Statements in Java
Exception Handling in Java with Code Examples
Loops in Java: For, for-each, While, and Do-While
Class design
What are Sealed Classes
Using record
Design Pattern
What are SSOT, DRY and SRP
Java Pattern: Singleton
Exceptions
Spring ControllerAdvice to handle exceptions
Catching exceptions in java
Helidon
Build a REST API with Java
Helidon quickstart with an IDE
Panama
Call C method from Java
Upcall Java code from C code
Spring
Spring use Virtual threads
Spring ControllerAdvice to handle exceptions
Annotation
Create an annotation and read its data
deserialization
Creating deserialization filters
Enum
Enum explained with code examples in Java
Foreign memory access
Writing a simple Filesystem using Fuse and java 17
IntelliJ
Use Maven to Build and run your project in IntelliJ IDEA
Practices
Ship Faster, Fix Less: How First-Time Right Can Boost Your Development Workflow
Project Amber
Pattern Matching in Java
Streams
Java Stream Group By