A quick and practical guide to writing a List of Strings into a text file.
Search Results for: junit
SEDA With Spring Integration and Apache Camel
Learn about Staged Event-Driven Architecture (SEDA) using Spring Integration and Apache Camel.
Create a BMI Calculator in Java
Learn how create your own BMI Calculator in Java.
Apache Camel Conditional Routing
Learn how we can route messages based on conditions in our routes using Apache Camel.
How to Configure Conditional Dependencies in Gradle
Learn how to configure conditional dependencies in a Gradle project.
Testing Spring JMS
Learn different approaches for testing a Spring JMS application.
Spring Boot – Testing Redis With Testcontainers
Learn how to use Testcontainers while testing a Spring Boot application that uses Redis.
Use Cases for Static Methods in Java
Java allows us to declare functions as static. We look at what this means, how static functions differ from others, and some common use cases for preferring static functions.
Processing the Response Body in Spring Cloud Gateway
Learn how to access the response body of a backend service and modify it using the Spring Cloud Gateway library
Java Weekly, Issue 442
JFR improvements, less footprint for Java, hibernate additions to Criteria API, the Flexcoin race condition, and product backlog.
How to Mock HttpServletRequest
Learn multiple ways to mock a HttpServletRequest object when unit testing Servlet code in Java.
Java Weekly, Issue 438
Structured Concurrency, destructing patterns for Records, a JVM crash story, gRPC probes, and index scans in Postgres!
Posting with Java HttpClient
From Java 9 onwards, the new HttpClient API provides both a synchronous and asynchronous modern web client. We look at how it can be used to make requests.
Hibernate’s “Not-Null Property References a Null or Transient Value” Error
Learn about Hibernate’s PropertyValueException. In particular, the “not-null property references a null or transient value” error message.
Getting Started With GraphQL SPQR and Spring Boot
Learn about GraphQL SPQR and Spring Boot.
Apache Camel Routes Testing in Spring Boot
Learn how to test Apache Camel routes in Spring Boot.
What Is an Apache Maven Artifact?
Learn what a Maven artifact is and get an understanding of coordinates, dependency management, and repositories.
URL Rewriting With Spring Cloud Gateway
Explore different ways to rewrite URLs using the Spring Cloud Gateway library.
Hibernate’s addScalar() Method
Learn the uses of the addScalar() method in Hibernate, how to use it and when to use it, along with examples.
Difference Between Gradle Test and Check
Learn the difference between the Gradle test and check tasks and identify exactly what each one does and when it makes sense to use them