Topic Hub · 64 Articles

Java

All articles and deep dives filed under Java. ← All Topic Hubs · All Posts

2023

24 Articles
Oct 28 JUnit 5 & JUnit 4 Lifecycle Annotations Explained (@BeforeAll, @BeforeEach, @AfterEach) 3 min Oct 25 How to Unit Test Jakarta Bean Validation Annotations in Java (@NotNull, @Size) 2 min Oct 11 Spring Boot REST API Request Validation with @Valid and Jakarta Bean Validation 2 min Sep 30 How to Make Sync & Async HTTP Requests in Java with HttpClient 4 min Sep 07 Verify method calls with Mockito 4 min Sep 06 How to Generate an HTML Test Report with JUnit 5 and Maven Surefire 1 min Aug 31 Given When Then structure with JUnit tests 2 min Jul 27 Enum with properties using Java 2 min Jul 27 How to Create a Unit Test with Mocks in Java (JUnit 5 & Mockito) 3 min Jul 14 How to Create a Unit Test in Java with JUnit 5 3 min Jun 09 Using ExecutorService, Future & invokeAll with Java Virtual Threads (JDK 21+) 4 min May 31 Pattern Matching for Switch in Java 21+: Guarded Patterns, Nulls & Sealed Types 3 min May 31 How to Configure IntelliJ IDEA to Build and Run Java Projects with Maven 2 min Apr 27 Using @PathParam in Jakarta RESTful Web Services (JAX-RS) with Examples 3 min Apr 24 How to Configure the Java Virtual Thread Scheduler (Parallelism & Pool Size) 2 min Apr 13 Jakarta EE REST API Tutorial: Handling GET, POST, PUT, and DELETE Requests 4 min Apr 13 Java ThreadGroup Explained: Grouping, Interrupting & Managing Threads 2 min Apr 10 Bootstrap a Jakarta EE REST API in Pure Java SE (No Application Server) 3 min Mar 31 JUnit 5 Parameterized Tests with @CsvSource and @CsvFileSource 3 min Mar 31 Global Exception Handling in Spring Boot with @ControllerAdvice & @ExceptionHandler 2 min Feb 23 Java Virtual Threads Explained: Architecture, Creation & Performance (JDK 21–26) 6 min Feb 21 How to Read a File in Java: Files.readString(), BufferedReader & Streams 3 min Feb 20 How to Remove All Null Values from a List in Java (removeIf, Streams & removeAll) 2 min Feb 18 How to Split or Partition a List into Batches in Java 2 min