I can't express with enough words how happy I'm to join the amazing group of @Java_Champions!
I need to say thank you to the global @java community for being so good to me since the day one.
Thank you also to my fellows from @soujava: it wouldn't be possible without you!
#java
Congratulations to new Java Champion @elderjava! apex.oracle.com/pls/apex/ace…
Replying to @davsclaus
Thanks for sharing these insights, Claus! Great work from the whole Camel team and the contributors.
1
23
One of the biggest open source projects in the world ran an experiment with local AI models that made me rethink what I thought about them.
The project is Apache Camel. If you don't know it, it's probably the biggest open source integration project in the world, and one of the biggest open source projects overall.
They said:
- "We're not satisfied with benchmarks, we want a more real-life test of our platform with different models."
They used Claude Code and a local Qwen model, around 35B. Claude would be tested too, but it also orchestrated the test runs with Qwen.
The test base was 13 simple examples from Camel itself, on Camel's GitHub. Each model had to build them from the user's prompt. Claude had access to every tool, the catalog, the examples. The local model started with no tools at all, and they gradually unlocked tools and access to see how it progressed.
First round: catastrophic. The local model with no tools got none right. Claude got all of them right away.
Then they gave it some tools. Then a round of feedback from the validator running on Claude. Then four rounds of feedback. Then Camel's own MCP for the catalog. Best result: 7 of 13.
They could have said:
- "Local models are bad."
Instead they looked at what was failing. The local model was getting lost in Camel's error messages.
The messages said "this didn't work." They changed them to say how it should be. One example: a Camel structure needs two items separated by a colon, and the model had used a period. Instead of "couldn't find X," the message now says "this must be a colon."
Doing that, in one of the runs the local model got all the examples right.
The part I found most interesting: for 20 years they built Camel for people. People were dealing with those bad messages all along, but a human, like a frontier model, thinks, searches, figures it out, and often doesn't even open an issue. The small model, with less capacity and less patience, shows you right away what's wrong. Fix it and it works.
They say it completely changes how they build Camel, because now there's another user besides the dev: the AI agent.
I have been using T3 code for about two months and… boy, I love it!
Being able to mix different providers is something underrated. I've been using it more than I expected.
Really great product. Thanks, @theo and team.
1
4
401
If you think you're getting dumber because of AI, maybe you're right. That's not an insult, it's part of an MIT study.
They found a tendency toward cognitive reduction from excessive AI use. In the study, a preprint with 54 people, one group used ChatGPT for four months to write the texts they needed, compared as usual to a control group without the tool.
After four months, two things.
First, weaker brain connectivity, measured by EEG, while they wrote. Bizarre and worrying, especially in such a short period.
Second, a loss of the sense of authorship. They handed people texts they'd written with GPT, and people couldn't say whether the text was theirs. Probably they just took the text, copied and published.
AI made some tasks so easy that we're not delegating anymore, we're dumping. We tell it:
- "Write it. Decide it. I don't even want to think about it, you do your thing and I'll do mine."
According to the study, that starts to wreck your cognitive system.
For software engineers, in a profession with tasks that demand a lot from our cognitive system, giving up your ability to think is the worst shot in the foot you can take.
Use agents to help you. But decisions still have to come from you. Responsibility too. Your ability to see something the user hasn't seen, the product manager hasn't seen, and maybe the AI hasn't seen either, has to be preserved.
If in four months those people's brains were already less engaged, imagine two years, five, ten. We'll be a bunch of idiots because we put the robots to do everything in our place.
If you think that's fine because robots will take over anyway, it may happen. Personally, I'd rather count on a world where we humans are still human and responsible for our decisions and what we do.
1
266
People ask me:
- "Elder, how do I know I'm ready for the next level? If I'm mid-level, can I go to senior? If I'm senior, can I go to principal?"
Recently I watched a podcast with Elizabeth Stone, Chief Product and Technology Officer at Netflix, who still hires technical software engineers. She shared something she evaluates in interviews.
A feature lands on your desk. Don't just think:
- "I'll build this feature."
Ask yourself:
- "Does this really stay in my scope, or should I think about it at the platform level?"
Look at the problem you got and where it sits inside a bigger problem.
She calls that part of systems thinking. And she doesn't tie it directly to seniority, but to how wide your view of the project and the process is.
She also gives a warning. To do this you need to zoom out, step back from the problem to see the whole. Just don't zoom out so far that you lose the problem and the view gets so big it paralyzes you.
Where I'd apply this: in the project I'm on now, with the demands coming in. And if I'm eyeing another job, thinking about scenarios that could come up in an interview.
The interviewer says:
- "I have this problem, how would you solve it?"
Zoom out and ask:
- "OK, what's it related to? What scope is it tied to? What does it interfere with, what does it get in the way of, what does it help?"
Then decide: this stays in my scope, this goes to platform, this belongs to an even bigger scope, like the technology we use.
I keep insisting on this even in times of AI. Throw that question at an AI and it'll make a decision no matter what. It always tries to give you an answer, without necessarily exploring every possibility first. That critical, systems thinking is still on you and me.
264
If you think your code and its quality don't matter anymore because of AI, I'd invite you to rethink that.
It's true for two kinds of projects. Personal projects only you use. I have dozens where I literally don't know what language the AI used. It works, it's only mine, only on my machine, not even on the internet. And small things that some people use, but so simple that the code doesn't need much attention.
When does your code start to matter, even with an agent writing it? When it gets big, with a lot of users and a lot of security demands. Because even the AI agent gets lost in the mess.
A while back I migrated all my sites. They were on a cloud in England I'd used since 2017, 2018, and I'd been too lazy to migrate. I started exchanging messages with Claude and decided to do it. In about a working week everything was migrated, things I'd never have bothered to do.
Then some time later I went to change something and saw that for two of the sites it had made a decision midway and created two separate Vercel projects for each. Four projects for two sites. When I asked why, it pointed to an ambiguity in something I'd said and had decided based on that. Nothing serious, we reverted it, one project per site now.
But it was already a big project. The whole migration took 1.4 billion tokens. My estimate: about 13 thousand dollars in API cost without cache, around 2 to 2.5 thousand with cache. I did it all on my Claude subscription.
When things get big, details matter. That class in a weird package, that badly structured package, that domain structure you don't care about because the agent will maintain it.
The agent is like your colleague from before, when you documented your project badly, they did something wrong and you thought they didn't know what they were doing.
As Kathy Sierra and Bert Bates wrote in their study guide for the Java 6 certification: write your code as if the person who maintains it is a homicidal maniac who knows where you live.
One of the most important topics in the Java world in recent years, curiously, has nothing to do with AI. It's about Java's thread execution model. Virtual threads, final since Java 21 in 2023, after some previews, with a couple of updates since.
First, threads in Java. Traditionally, since Java was released, Java threads are wrappers of operating system threads. When you write a Thread.sleep in your code, without any big pretensions, you're going down to the OS and asking for a thread, and that OS thread is allocated to your glorious Thread.sleep.
Fine, but there are implications. Operating systems were built to provide threads to all sorts of languages and platforms. Because of that, the architectural decision was to level resources from the bottom: whoever can do the least sets the baseline for everyone. So over the years the Java platform could have used threads much better than it did, but the OS didn't provide what it needed.
Another problem: OS threads are expensive, and switching between them is expensive. You had underutilization. It was common to have a server with free memory and free CPU that had already hit the thread limit. To get more threads, you bought more hardware for a server that already had hardware to spare.
One way around that was reactive programming. No blocking threads, or at least you could work around blocking, so you could run more tasks than threads. But if you've written reactive code, you know it's a different API, a different style, not intuitive. And in Java all the tooling is built on threads. Stack traces, observability, all of it.
So virtual threads were born. Instead of one OS thread per Java thread, there's a carrier thread, and on top of it you can put potentially millions of virtual threads. Your virtual thread is mounted on the carrier, and the carrier talks to the OS.
That makes threads much lighter on CPU and memory, much faster because switching happens inside the JVM, and you get features you couldn't have with OS thread limits.
It's available since Java 21. Worth checking if there's something in your project that can migrate.
AI doing things for you is fantastic. AI doing things as you is terrible. Terrible for you.
My great friend Bruno Souza, the Java Man, called this cognitive surrender in a talk at an event. Literally surrendering your cognition to AI. If you want it to do everything in your place, maybe today it doesn't do 100%, but it already does a lot, and some day maybe it will.
But you still exist. You still have to make decisions in your life and you're still responsible for them, even if what you're doing is the AI doing it as you.
Take OpenJDK, which is a hot topic now because they won't accept AI-made contributions. Their announcement says you can use AI to study the code, explore solutions, help with the briefing. But writing the code, committing it, opening the pull request, commenting on it, has to be you.
I heard someone say the other day:
- "How will they know it was AI?"
If you can't glance at a pull request, a commit or code and at least suspect it was AI, either you don't use AI much or you don't write much code. It's obvious. AI writes unnecessary code, big code, names variables and methods a specific way, and its commit messages and pull requests are absurdly verbose. That's why their announcement says, in short:
- "Provisionally, we won't accept it."
Maybe that changes.
You can use it for all that support, but you're still in command, still responsible, still the owner of your cognitive system. Don't outsource at that level. Don't give up thinking, deciding, ownership.
Use it to take the bureaucracy off you, what Professor Isidro calls the grunt work, the boring stuff nobody enjoys. And do what you were born to do: your creativity, your intelligence, your problem solving.
Maybe you're thinking:
- "But I'm not that good at those things."
You are the way you are. Use AI to help you be that.
An AI agent's tool call can run twice: the call times out, the runtime retries, and the change may already have happened. The idempotency key that Java backends already use works here too.
eldermoraes.com/agent-tool-c…
A while back at TDC São Paulo something occurred to me.
My first time at TDC was as an attendee, in 2015, on the mobile track. I was a mobile app developer. In 2016 I came back and gave my first talk. In mid 2017 I became a track coordinator, and did that for a few years. In 2017, 2018 I was at Oracle, and besides coordinating and speaking, I started working on the sponsor side, since Oracle sponsored TDC. Some years later I joined the technical committee, which defines the tracks and the coordinators.
I've done every role possible at TDC except volunteer, the people in blue shirts helping everywhere.
That gave me a very broad view of how an event works, and especially how you get results from what you want out of it.
A lot of people say:
- "I don't go to events anymore. It doesn't give me results, it's expensive, I lose a lot of time, nothing happens."
Probably you didn't set a clear goal for what you want to do and get at the event. If you go and spend the whole day watching talks, which is what people usually do, you really won't get anything.
Plan for it. I may watch talks, but I'll note beforehand which ones. And I don't want to spend the whole day in talks, because I want to talk to people. Which people? I decide before.
That day, for example, I had a podcast to record with Edson Yanaga. The event is always generous with me and gives me space to record. I'd found out a few days earlier that Edson would be in Brazil, asked which days, we set a time. That became part of my plan for the event.
I always try to find a moment with Júlio Matos, Yara Mascarenhas, Bruno Souza.
Someone might say:
- "But Bruno's your friend, he's on your WhatsApp."
Sure, but only a few times a year do I see him in person.
Go with a short list of things you want to do there. If it's too long you won't do it. If you get through most of a short one, you'll leave feeling it was worth it.

