JVM Advent

The JVM Programming Advent Calendar

What a year. From intelligent IDEs to coding agents and what it changed for Java

Another December, another Java Advent Calendar. And once again, I have the pleasure of opening the first door.

Looking back through my previous contributions is almost like reading a little history of Java development. In 2019, I wrote about Quarkus. In 2020, it was developer joy, and the environments and tools that help us build software. The subjects change, but I keep returning to how we make increasingly complicated systems easier to understand and maintain.

Last December, I wrote about bringing language models into Java applications. There were models to connect, documents to retrieve, responses to test, and familiar engineering questions about reliability. During 2026, more of my attention moved toward the tools building those applications. I invested the year experimenting with coding agents, giving them larger tasks, and finding out what they needed from me.

These agents were already around before January. What changed this year was the place they occupied in my own development process. I began spending more time describing an intended change, letting an agent investigate the repository, and then deciding whether its changes were something I wanted to keep. After more than two decades with Java, that takes some adjustment.

Java developers have had intelligent IDEs for a long time. We expect navigation across a large codebase, inspections that catch mistakes while we type, and refactorings that understand references. Renaming a type across several modules is an ordinary action for us. Those capabilities represent years of investment in understanding the language and the structure of our applications.

A coding agent takes on a broader sequence of decisions. It can take a look at a Maven project, find the relevant classes, change an implementation, run tests, and use a failure to decide what to try next. I can delegate an investigation or an upgrade with an outcome in mind. That also means I have to explain the outcome well enough for the agent to recognize it.

One example was upgrading a small Java 8 servlet application to Java 25 with IBM Bob. The original application built on Java 8, but Maven reported “No tests to run.” On Java 25, its four classes compiled before an old WAR plugin failed during packaging. Bob applied an OpenRewrite recipe to update the compiler configuration and the plugin, then handled a deprecated URL constructor in a separate step.

The replacement used URI parsing, which accepts a different set of inputs. I added two tests around the servlet’s request handling, including a malformed input that needed to reach the existing exception handler. The application could then carry that expectation into its next upgrade. A small migration had become a chance to put a little more of its intended behavior into executable checks.

That experience explains why the Java toolchain is so important in these discussions. The compiler can identify broken callers after a signature changes. Maven and Gradle can run the project’s checks. Tests can describe behavior that should survive a refactoring. An agent can use those results to correct its next attempt, and I can see the same results when reviewing the change.

Of course, the checks only cover what we have expressed. Java’s type system cannot decide whether an order should be shipped before payment is confirmed. A test can faithfully preserve a mistaken requirement. The quality of the feedback depends on our understanding of the application, including the details that never made it into a ticket or a test.

This is why I am thinking about specifications and verification a lot. When I implement a feature myself, I make small decisions almost continuously. I choose an existing abstraction, recognize a transaction boundary, or remember why a particular dependency was avoided. Delegating the implementation exposes how much of that context lives in my head.

A request to add an endpoint leaves plenty of room for interpretation. The agent needs to know which behavior is expected, which existing conventions apply, and how we will check the result. Sometimes a few examples and a clear acceptance condition are enough. A change involving payments, authorization, or a shared data model needs more explanation. The amount of specification should follow the consequences of getting the decision wrong.

Repository instructions, reusable skills, and documentation retrieval became part of my experiments for that reason. They give us places to explain decisions that source code alone cannot communicate. A short instruction pointing to the existing transaction pattern can prevent another round of corrections. But those instructions need maintenance too. An old design document and the current code can tell an agent two different stories about the same application.

I also learned how easily an agent can misunderstand the environment around the code. At IBM Bob Day in May, my Quarkus demonstration failed because Podman was not running. The application needed Dev Services, and Bob started interpreting the failure as a possible code or configuration problem. It was heading toward changes that would not start the missing container runtime.

That failure led to clearer container-runtime detection in Quarkus Agent MCP. The agent could be directed to ask for Docker or Podman to be started. It was a very practical reminder that an agent needs help distinguishing a broken application from an unavailable development dependency. More generated Java would have taken us further from the cause.

Quarkus Agent MCP brings framework documentation, extension guidance, and development tools into the agent’s reach. It can manage the application lifecycle and expose the running application’s development tools. This connects the agent to knowledge that the framework already has, so it can search through the application and follow its conventions instead of reconstructing everything from source files.

For the Java community, there is quite an opportunity here. Library and framework maintainers know which mistakes developers repeat, which configuration options are frequently misunderstood, and which combinations need special care. Making that knowledge accessible to agents can help it reach developers at the moment they are making a change. The documentation and examples we have accumulated gain another audience.

The connections between these tools also became more interesting to me. I built MCP examples with Quarkus and explored an ACP-based control interface. MCP connects AI applications to tools and information, while the Agent Client Protocol connects coding agents with editors and other clients. They address different parts of the development process, and each lets us build integrations around an explicit interface.

IntelliJ IDEA added broader agent integration through ACP this year. That fits how I want to develop: I want to delegate a task and also have the debugger, inspections, and navigation close by when I need to understand the result. The IDE has a substantial role in reviewing code that I did not write line by line.

Java also has a role in building the services around these agents. An MCP operation that changes a customer record needs input validation, authorization, and transaction handling. Those responsibilities belong in the application, whoever calls it. We can bring our existing experience with service boundaries and failure handling into this infrastructure, alongside the applications that use language models directly.

Giving agents more responsibility also made me think carefully about their access. In one experiment, I ran two Bob tasks in separate Git worktrees inside a constrained Podman container. Each task had its own branch and build directory. Container mounts controlled which host files were available. Even then, I had to account for shared caches, test ports, and Git’s paths.

Parallel execution brings coordination costs with it. Two agents can finish their changes independently, but someone has to check that the combined application behaves correctly. Choosing tasks with clear boundaries makes that review easier. Giving both agents overlapping changes in the same part of the application can turn the time saved during implementation into time used for resolving conflicts.

I explored lifecycle hooks for similar reasons. A hook can reject a matched edit request before it changes a protected file. That gives a rule an enforcement mechanism outside the model. Its scope needs to be understood, though: protecting an editing tool does not automatically prevent a shell command from writing the same file. Instructions, tool checks, and operating-system permissions each cover different parts of the problem.

Alongside permissions, I began looking more closely at what happens during a session. My context-budget experiments examined how tool definitions and large command outputs consume the space available to the model. Session diagnostics raised related questions about retries, failed operations, and repeated information. A completed task tells me the outcome; the sequence of calls helps explain the time, cost, and corrections needed to get there.

Java Developer Stack

A logical view of the Java development stack

All of this has changed what I invest time in when I review code. An agent can produce a large change before I have formed a clear understanding of it. Small changes, explicit requirements, and focused tests help me keep the review manageable. I also need enough knowledge of the application to notice when an implementation looks reasonable but answers a different question.

That has consequences for learning Java as well. A new developer can generate a service quickly and use it as something concrete to explore. Understanding why its transaction rolls back, how shared state behaves, or what happens when a downstream call times out takes more investigation.

For experienced developers, our knowledge of those behaviors helps us decide what to delegate and what to look at more closely. Knowing the language and runtime gives us ways to challenge a proposed change. So does knowing the history of a system: the requirements behind an unusual abstraction, the failure that led to a timeout, or the compatibility promise hidden behind an old API.

Java itself had another year of development, with Java 26 in March and Java 27 in September. Alongside the changes in how we create software, the platform has its own continuing responsibilities. The applications we maintain need predictable behavior, supported dependencies, and a path to newer runtimes. Coding agents give us another way to approach those tasks, with plenty left to learn about how far we can delegate them.

Looking back, I started by asking agents to help change Java applications. Somewhere along the way, I began building tools around the agents themselves and spending more time on context, permissions, and the meaning of a successful result. Some of those experiments have become part of everyday development.

What has stayed very consistent is Java’s ability to adapt.

We have seen this with application servers, microservices, containers, Kubernetes, cloud-native frameworks, and now artificial intelligence. Each generation brings new approaches to building software. Our ecosystem keeps learning and finding ways to integrate them.

That brings me back to why I enjoy opening the Java Advent Calendar so much.

For the next 23 days, developers from across the community will share their experiences, ideas, and lessons. Some will write about new language features. Others will explore frameworks, performance, security, tools, or topics we have not even considered yet.

I always appreciate the variety. It reminds me how much interesting work continues throughout our ecosystem, and how much we can learn from each other.

Thank you to everyone who makes this calendar possible, especially the people organizing it and the authors spending their time preparing these articles.

I hope you and your loved ones have a wonderful Advent season, some quieter days toward the end of the year, and a little time to experiment with something new.

Enjoy the next 23 doors.

And keep writing good Java.

Author: Markus Eisele

Technology leader focused on Java and open-source. Java Champion with 20+ years guiding monolith-to-microservices transitions. Developer Advocate and Senior Product Manager at IBM Research.

Next Post

Previous Post

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2026 JVM Advent | Powered by steinhauer.software Logosteinhauer.software

Theme by Anders Norén