Better AI output often comes from a stricter workflow, not smarter prompting.
Context quality, instruction files, validation loops, and security hygiene matter more than people think.
bazlur.substack.com/p/ai-output-...
Posts by A N M Bazlur Rahman
I'll be speaking at Microsoft JDConf 2026 on Wednesday, April 8, at 2:00 PM EDT
Talk: Building LLM Apps in Java with LangChain4j
This talk is for Java developers who want to integrate LLMs into real backend systems, not toys.
Free and virtual. Register: jdconf.com
AI does not remove ambiguity.
It amplifies it.
If the spec is weak, the implementation will often be fluent and wrong in ways that are harder to catch later.
Better contracts matter more now, not less.
bazlur.substack.com/p/before-you...
AI has made coding cheaper. It has not made judgment cheaper. Thatโs the main idea behind the first article in my new series for Java developers:
read it: open.substack.com/pub/bazlur/p...
Excited to share that Iโve contributed two chapters to Sustainability for Java Developers, a collaborative effort by Java Champions and community experts.
If you care about building better Java systems with a lighter environmental footprint, this oneโs for you ๐ฑโ
Modern Java deserves modern concurrency.
If you havenโt grabbed your copy of Modern Concurrency in Java yet, nowโs a good time.
bit.ly/3KEhqCl
Excited to be joining the QCon Certification Program to deepen my skills and stay current with industry practices.
Looking forward to learning from experts and applying it in real projects.
certification.qconferences.com
#ContinuousLearning #SoftwareArchitecture #QCon
The JUnit team has released JUnit 6.0.0 (GA on September 30, 2025), unifying version numbers across Platform, Jupiter, and Vintage and raising the minimum to Java 17 (and Kotlin 2.2 for Kotlin test code).
Read more ๐ https://lttr.ai/AlIPI
#Testing #Java #Kotlin
Kotlin users can simplify coroutine testing with direct suspend methods, and JFR integration becomes easier to adopt for performance investigations.
Read more ๐ https://lttr.ai/Ak1yZ
#Testing #Java #Kotlin
For most teams already on Java 17 and JUnit 5.14, adoption should be a routine dependency bump followed by a quick dry run, modernizing any build plugins (e.g., Surefire/Failsafe โฅ 3.0), and validating CSV-driven tests.
Read more ๐ https://lttr.ai/AkqJz
#Testing #Java #Kotlin
JUnit 6.0.0 Ships with Java 17 Baseline, Cancellation API, and Kotlin suspend Support: https://lttr.ai/AkkEC
#Testing #Java #Kotlin
Tons of comments in the code
Introducing JUnit 6.0.0: a transformative update that unifies versions, elevates minimum requirements to Java 17, and introduces streamlined support for Kotlin suspend tests. Enjoy enhanced testing performance with the new CancellationToken API, built-in JFR listeners and many moreโmigrate today!
Fresh off the press. Alhamdulillah!
My book, 'Modern Concurrency in Java,' is finally available.
learning.oreilly.com/library/view...
Amazon: www.amazon.ca/Modern-Concu...
Thanks, it's fixed now.
I'm also wondering that!
I'm happy to share that the Early Release of Modern Concurrency in Java, with all chapters, is now available on the O'Reilly platform.
If you have access to the O'Reilly platform, you can take a look now.
learning.oreilly.com/library/view...
Over the weekend, I built Smart Mockโan AI-powered API mock server that generates realistic, context-aware responses from your OpenAPI specs.
๐ Built with Spring Boot, Ollama, and LangChain4j
๐ป Runs locallyโready in minutes
Check it out here: bazlur.substack.com/p/building-s...
Let's revisit the very familiar ConcurrentModificationException and why it happens. But more importantly, why does Java NEED to throw it?
www.linkedin.com/pulse/fail-f...
I've launched The Coding Cafรฉ on Substack: lnkd.in/gtkcVUR2
The subscription is growing rapidly!
โ What to expect:
- Deep dives into Java features
- LLMs and AI with Java experiments (LangChain4j and beyond!)
- Trendy stuff that matters
Join me to get LLMs and Java in your mailbox weekly!
Built an AI Chrome extension that fills forms intelligently! ๐
FormPilot uses: - Local LLMs (privacy-first)
- RAG for personalization
- Java Spring Boot backend
- Zero API costs.
Code + guide:
open.substack.com/pub/bazlur/p...
๐ฉ๏ธ I built an AI that knows what planes are flying overhead โ in real time.q
No cloud. No APIs. No fees.
Runs fully local.
Built with:
โ๏ธ Spring Boot + LangChain4j
๐ง Ollama (local AI)
๐ก Real-time flight data
What would you build with local AI?
bazlur.substack.com/p/building-a...
Read the rest of the interview:
www.infoq.com/news/2025/06...
www.infoq.com/news/2025/06...
๐ Spring founder Rod Johnson just launched Embabel, and Java developers can finally build AI agents without Python!
This isn't just another wrapper. And he's actually pulling it off.
Give it a read.
Introducing the Embabel Agent Framework, a pioneering platform developed by Spring founder Rod Johnson, designed to revolutionize AI applications on the JVM.
Read more: www.infoq.com/news/2025/06...
Guardrails are finally available in LangChain4j! I explored them this morningโsuper easy to use and a big step toward safer AI apps in Java.
Check out my write-up:
bazlur.ca/2025/06/21/b...
Introducing the Embabel Agent Framework, a pioneering platform developed by Spring founder Rod Johnson, designed to revolutionize AI applications on the JVM.
Read more: www.infoq.com/news/2025/06...
๐ My latest news piece is live on InfoQ: www.infoq.com/news/2025/06...
I had the pleasure of speaking with Rod Johnson, the creator of Spring and Embabel, to gain insights into this framework for building AI-powered Java applications.
Check it out and let me know your thoughts!
Java turns 30 today! ๐
From "Write Once, Run Anywhere" to powering cloud-native, AI-driven, and distributed systems, Java has grown into a modern, expressive, and resilient languageโfar beyond the stereotypes.
Happy birthday ๐ to Java
www.infoq.com/news/2025/05...
JEP 512 enhances Java with Compact Source Files and Instance Main Methods in JDK 25, easing the learning curve for beginners. Key features include simplified syntax, automatic imports, and a new IO helper class, to create programs with minimal complexity.