27 Nov 2026
DZone Java Zone
Google Cloud Pub/Sub vs. AWS SNS and SQS: One Java API for Both With MultiCloudJ
Almost every distributed system ends up with an asynchronous messaging layer. One service publishes an event, several others consume it at their own pace, and the publisher doesn't wait for them. On Google Cloud, that layer is Pub/Sub. On AWS, it's usually two services wired together: SNS for fan-out and SQS for durable queues.
The building blocks are cut differently, and it shows in your code: how you publish, acknowledge, retry, and order messages. This article walks through Pub/Sub in Java, maps it onto SNS and SQS, and shows how MultiCloudJ, an open-source Java SDK from Salesforce, puts both behind one portable API.
27 Nov 2026 8:00pm GMT
Exactly-Once Stream Processing With Apache Flink
Exactly-once semantics is one of the most cited - and most misunderstood - promises in stream processing. This article explains how Apache Flink actually delivers exactly-once guarantees: distributed checkpointing, state backend selection, two-phase-commit sinks, and the operational tuning that separates a working demo from a reliable production pipeline. It also covers the failure modes that show up most often in real deployments and how to configure around them.
What "Exactly-Once" Really Means
Ask five engineers what exactly-once means, and you will get five answers. In Flink, the useful distinction is between processing semantics and end-to-end semantics.
27 Nov 2026 3:00pm GMT
26 Nov 2026
DZone Java Zone
Integration Testing With MongoDB in Java: Finding the @Sql Equivalent With Liquibase/Flyway or Jamolingo
Integration testing is the backbone of reliable data-driven Java applications. When working with relational databases in the Spring ecosystem, setting up test data per test method is effortless thanks to the org.springframework.test.context.jdbc.Sql annotation.
However, once you move to MongoDB, you quickly notice a gap. Spinning up a real MongoDB instance for tests is easier than ever - whether you use Testcontainers with the official MongoDB Java Driver or Embedded MongoDB in Spring Boot - but Spring Data MongoDB does not provide a built-in equivalent to the @Sql annotation for declaratively seeding collections, cleaning up data, or managing indexes before each test.
26 Nov 2026 8:00pm GMT
Beyond Semantic Similarity: Designing Two-Stage RAG With Java
Context is critical to sound decision-making, as software architecture shows. An elegantly implemented design pattern can become an anti-pattern if used inappropriately. Its effectiveness depends on both its function and the surrounding assumptions and constraints. AI systems face a similar issue: a technically correct answer may still be unsuitable for a specific customer, time frame, product, or business process.
Enterprise information is seldom timeless or universally relevant. Policies evolve, contracts have effective dates, customers hold different permissions, and similar scenarios may require different rules. Without recognizing these distinctions, an AI assistant may provide a convincing response based on accurate data but still reach an inappropriate conclusion. The challenge is not only to expand a language model's knowledge, but to ensure it accesses the right information for each situation. This need drives the shift from direct generation to retrieval-augmented generation (RAG), and ultimately to a second retrieval stage.
26 Nov 2026 7:00pm GMT
24 Nov 2026
DZone Java Zone
Five Common Time-Series Queries Made Simple With Enterprise Java
Enterprise applications have typically stored only the current state of information, such as account balances, order statuses, or inventory quantities. However, monitoring changes to these values over time is also essential. As businesses increasingly depend on real-time analytics, observability, and continuous data processing, time-series databases provide a specialized solution for storing and querying time-based data.
Java developers and software architects should not have to learn a new query language for each database when working with temporal data. Eclipse JNoSQL introduces five new operations in its TimeSeries fluent API, making it easier to retrieve historical data, recent activity, and specific time ranges using familiar Java patterns. This article discusses the significance of time-series data for enterprise applications and demonstrates how these features simplify temporal queries while supporting polyglot persistence.
24 Nov 2026 1:00pm GMT
23 Nov 2026
DZone Java Zone
Getting Started With Weaviate: Building AI-Powered Search Applications With Java
Developing AI-powered enterprise applications involves challenges beyond vector storage and retrieval. Developers need to integrate embedding models, support semantic and keyword searches, and manage infrastructure that connects databases to AI services. As requirements expand, maintaining separate components becomes more complex. Weaviate, an open-source vector database built for AI integration, addresses these issues by unifying vector search, hybrid retrieval, and optional machine learning integrations in a single platform.
Weaviate enables Java developers and software architects to simplify intelligent search architectures while maintaining control over data persistence and AI integration. Its modular design supports various embedding providers, retrieval strategies, and deployment environments. This article examines Weaviate's capabilities, demonstrates local configuration with Docker, and shows integration with enterprise Java using Eclipse JNoSQL. Before implementation, we will review what sets Weaviate apart and its practical benefits.
23 Nov 2026 1:00pm GMT
20 Nov 2026
DZone Java Zone
Getting Started With Qdrant: Building Intelligent Search Applications With Java
Enterprise applications seldom rely solely on similarity for information retrieval. For example, e-commerce platforms must recommend products aligned with customer interests while considering availability, pricing, and categories. Document management systems need to retrieve semantically related information while enforcing access permissions. Combining these requirements efficiently is a key challenge in building intelligent search applications. Qdrant, an open-source vector database for similarity search and structured filtering, addresses this challenge effectively.
Qdrant enables Java developers and software architects to build applications that integrate semantic understanding with business constraints. Its support for multiple vector representations, advanced filtering, and hybrid retrieval extends its relevance beyond conversational AI and RAG applications.
20 Nov 2026 1:00pm GMT
19 Nov 2026
DZone Java Zone
Getting Started With Milvus: Vector Search for Enterprise Java Applications
Artificial Intelligence is transforming enterprise information retrieval, but deploying semantic search in production involves more than generating embeddings. Applications must efficiently store, index, and retrieve millions of vectors while managing expanding datasets, concurrent requests, and operational demands. Milvus, a leading open-source vector database, addresses these needs. Built for high-performance similarity search, Milvus offers a specialized persistence engine that supports applications from recommendation systems to large-scale AI-powered search.
Java developers and software architects face the challenge of integrating these capabilities without adding complexity or tightly coupling business logic to a specific database. This article explores Milvus integration through Enterprise Java, showing how to connect enterprise Java applications to vector search using familiar persistence concepts. Before writing Java code, we will examine what sets Milvus apart, how its architecture works, and which configuration options matter when moving from local development to production.
19 Nov 2026 1:00pm GMT
17 Nov 2026
DZone Java Zone
Pitching Kotlin: An Engineering Leader's Guide to Legacy Modernization
I've been on both sides of the Kotlin conversation: the engineer making the case, and the architect who reviews it and recommends a direction before a committee decides. On the reviewing side, the pattern is predictable: most Kotlin pitches die in the second meeting. A tech lead shows up with a list of syntax wins, managers or architects ask about migration risk, and the conversation ends with "we'll revisit this next quarter." The technical case for Kotlin is usually sound, but the pitch stalls because it argues from developer preference, while engineering leaders approve migrations based on cost and risk. I've spent a large part of my career on systems where a defect moves real money (I talked about what that means for Kotlin code at KotlinConf 2026), and when I wrote the Kotlin Enterprise Playbook, I ran this exact argument through a financial model across mobile, edge, and backend domains. The proposals that held up were the ones that priced cost and risk honestly, including the cases where the answer was "not here."
This guide is the framework I use when I review these proposals. Decide domain by domain, solution by solution, instead of organization-wide. Make the cost of the status quo measurable. Price the migration, including the parts nobody budgets for. Place gates where decisions stop being reversible. Make sure the people who carry the risk own the outcome. Kotlin is the worked example, but the same framework applies to any large technical migration, whether it's a language, a framework, or a data platform.
17 Nov 2026 4:45pm GMT
Reading GC Logs: Memory Leak or Undersized Heap?
It's 3 AM. Your phone buzzes. The pipeline that's been running fine for six hours just died with java.lang.OutOfMemoryError: Java heap space, and the on-call channel wants to know: is this a leak, or did we just under-size the executors? Someone suggests bumping memory from 8g to 12g and going back to sleep. Someone else suspects the new dedup cache from last week.
The GC log won't settle that argument by itself - but it tells you which diagnostic to run next, and that's worth more than a guess at 3 AM.
17 Nov 2026 4:00pm GMT
16 Nov 2026
DZone Java Zone
Spring Boot's Hidden Secret for Configuration: EnvironmentPostProcessor
Spring Boot's Quiet Hook for Shipping Configuration: EnvironmentPostProcessor
Hi everyone! This is Mikhail Polivakha, technical lead of the Axelix project (an open-source product that helps you find common problems and inefficiencies in Spring Boot applications - btw, give us a star!).
I want to talk about a piece of Spring Boot that a lot of people have never touched directly, yet almost everyone has bumped into the problem it solves. Let me start with a scene that I suspect will feel familiar:
16 Nov 2026 7:00pm GMT
Building an AI-Powered Code Review Assistant in Java
Code review is the highest-leverage activity on most engineering teams, yet it is also the most expensive in terms of senior-developer time. What if you could offload a first pass to an LLM that understands Java idioms, common anti-patterns, SOLID principles, and security pitfalls - and get back structured, actionable feedback before a human even opens the PR?
In this post, we will build exactly that: a self-contained Java application that accepts a Java source snippet, sends it to an LLM (OpenAI GPT-4o or a locally running Ollama model - your choice), and returns a structured list of code-quality findings with severity levels and suggested fixes.
16 Nov 2026 3:00pm GMT
Modernizing a Legacy Java Application With OpenRewrite: What We Automated and What We Didn't
OpenRewrite in a Real Enterprise Migration
Recently, we modernized a 9-year-old enterprise application that involved two major changes happening together:
- Java 8 → Java 25
- Spring Boot 2.3.3 → Spring Boot 3.3.4
At the same time, we were also moving the application from a monolithic architecture toward microservices.
16 Nov 2026 2:00pm GMT
13 Nov 2026
DZone Java Zone
From Database Changes to Real-Time Actions at Scale: Oracle GoldenGate and Java
DB changes can be streamed in real time via Oracle GoldenGate. Java applications can then consume them to validate/act on/route events without polling the DB.
Goal
Listen to real-time transactions in the DB, act on all operations within transactions, and maintain transaction boundaries with near real-time SLAs.
13 Nov 2026 3:00pm GMT
12 Nov 2026
DZone Java Zone
Persisting Cookies Across JAX-WS Service Calls Using a Custom SOAP Handler
The Cookie That Never Came Back
The first call authenticated the user. The second failed.
I was integrating with a customer-provided SOAP service exposed through a single WSDL, with JAX-WS client classes generated by IBM Rational Application Developer from the WSDL and its XSDs. The first call authenticated the user and came back with a Set-Cookie header. Every call after it needed that cookie. The generated client sent none of it. Each invocation behaved as an independent conversation, and the workflow broke on its second step. No exception, no warning. Just a server that had forgotten who you are.
12 Nov 2026 5:00pm GMT
Best of Three Worlds: AI Agents Writing In Rust and Java Beat the C Library
Every app that accepts photo uploads meets HEIC sooner or later. iPhones save in it by default. Neither Java nor Rust can read it out of the box, and the usual answer, libheif, is a C library: native packages in every container image, a C toolchain in the build, and a parser written in C reading files that strangers upload.
I had the problem twice, in a Java product and in a Rust one. So I went the other way: decoders written in the language itself, built and improved by AI coding agents, with me steering. Here is how it went.
12 Nov 2026 2:00pm GMT