Testing Lottie4J JavaFX Animations in GitHub Actions Without a Display: JavaFX 26 Headless to the Rescue
When I released Lottie4J 1.1.0, I mentioned something a bit embarrassing in the release notes and this blog post: there was a new unit test to compare
java
dev.to
Apr 20, 2026
Understanding the Structure of Java Programming: A Beginner’s Guide
Java is one of the most widely used programming languages, known for its reliability, scalability, and platform independence. From mobile applications
java
dev.to
Apr 20, 2026
What Happens Between @SqsListener and Your Method in Spring Cloud AWS SQS
Originally published at tomazfernandes.dev.
You write a method, add @SqsListener, and messages start arriving. It is easy to see that as a simple ann
java
dev.to
Apr 20, 2026
Every ArrayList Method You Need to Know (With Examples)
Before anything, this is the import you need:
import java.util.ArrayList;
And this is how you create one:
ArrayListString> list = new Arra
java
dev.to
Apr 20, 2026
David Stark: Top High-Paying Roles
👋 Hello Developers,
The market is shifting. We are seeing a surge in JAVA roles this week.
My bot just scanned 200+ verified remote jobs,
java
dev.to
Apr 20, 2026
Two Years with Papers: How I Built My Real "Second Brain"
Two Years with Papers: How I Built My Real "Second Brain"
Honestly, I never thought I'd be the kind of person who talks about "second brain
java
dev.to
Apr 20, 2026
How I Built a Lightweight Turn-Based Relay Server with Java 25 Virtual Threads And Reconnect Handling
Turn-based multiplayer is deceptively hard. Here's how I designed a simple, fast, and cost-effective relay backend that auto reconnects dropped client
java
dev.to
Apr 19, 2026
MCP Server & Client in Spring AI: Stop Coupling Tools to Your AI Host
If you've built an LLM feature in Spring Boot, you've probably done something like this: created a @Bean with @Tool-annotated methods, wired it into y
java
dev.to
Apr 19, 2026
Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples)
What if I told you that even if you hash passwords, an attacker might still crack them in seconds?
Authentication is one of the most critical parts o
java
dev.to
Apr 19, 2026
Spring Boot : Quand @Transactional décide de ruiner votre journée
**Le Scénario Classique
Le Développeur : "J’ai bien fait tous mes save(), tout est en base de** données, je peux partir en pause."
Spring F
java
dev.to
Apr 19, 2026
Upcasting and Downcasting in Java (Simple Explanation)
When working with inheritance in Java, you’ll often hear two terms:
Upcasting and Downcasting.
Don’t worry — it’s not as complicated as it sounds.
F
java
dev.to
Apr 19, 2026
#27 Exception Handling in JAVA -part1
What is an Exception?
An unwanted or unexpected event that interrupts or disturbs the normal flow of the program is called an Exception.
Example:
E
java
dev.to
Apr 19, 2026
How to Safely Execute LLM Commands in Production Systems
LLM agents are becoming operational interfaces.
This is part 2 of our ongoing series on safely integrating LLMs with production backends. B
java
dev.to
Apr 19, 2026
ArrayList Methods
1.Adding Elements
ArrayListString> list = new ArrayList<>();
list.add("Apple");
System.out.println(list); --> output:[Apple]
2.Accessing Elem
java
dev.to
Apr 19, 2026
Rich domain modelling: a library story
Most software doesn't have a domain model. It has a database schema, a set of service classes that orchestrate calls to it, and a collection of user s
java
dev.to
Apr 19, 2026
How to Find the Minimum Mirror Pair Distance in an Array
Have you ever encountered an algorithm problem where you need to find pairs of numbers that are "mirrors" (reversals) of each other?
Recently, I was
java
dev.to
Apr 19, 2026
How I Built a Test Infrastructure from Scratch (And Why It Saved Our Project)
No tests. No confidence. Every push was a risk.
That was the reality of our Internet Banking frontend project. I was working on the Back-Office Clien
java
dev.to
Apr 19, 2026
How I Built a Fully Automated Asian Tech News Newsletter with Spring Boot + Gemini AI
How I Built a Fully Automated Asian Tech News Newsletter with Spring Boot + Gemini AI
From RSS ingestion to your inbox — zero manual work.
java
dev.to
Apr 19, 2026
Why Arrays Are So Fast (And Why It Matters in DSA)
Before you jump into advanced Data Structures like stacks, queues, or hash tables, there’s one concept you must fully understand Arrays.
If arrays a
java
dev.to
Apr 19, 2026
Unbounded Queues: The Silent Killer of Production Services
Your service runs fine at 2 PM.
At 6 PM, the database experiences a brief latency spike—nothing catastrophic, maybe 200ms slower than usual. Within m
java
dev.to
Apr 19, 2026