A N M Bazlur Rahman84 articles
Table of Contents SummarizingTokenWindowChatMemoryThe Summarizer InterfaceSummarization LogicLLM SummarizationWhy This MattersConclusion LLM chat models have become an integral part of many applications today. We are all experimenting and exploring the best ways to utilize them effectively. For Java developers, LangChain4j has …

- A N M Bazlur Rahman
-
Java Tips # 01 – Writing Shebang Scripts in Pure Java
Table of Contents Getting StartedKey Point: Shebang LineMake It ExecutableBonus Tip: Running From Anywhere Did you know you can write a CLI script in Java just as easily as you would in a bash script, and run it directly from …
- A N M Bazlur Rahman
-
Interview with a Java Champion: Reflections on a Storied Career and Insights for the Next Generation
Java Champion Ben Evans shares his journey, insights on Java’s evolution, and advice for developers in this insightful interview.
- A N M Bazlur Rahman
-
Creating a Command Line Tool with JBang and PicoCLI to Generate Release Notes
Learn how to create a Java command-line tool with JBang and PicoCLI to automate generating release notes from GitHub.
- A N M Bazlur Rahman
-
Unsafe is Finally Going Away: Embracing Safer Memory Access with JEP 471
Java’s sun.misc.Unsafe is being phased out. Learn safer memory access using VarHandle and Foreign Function & Memory API to keep your applications secure and up-to-date.
-
Exploring New Features in JDK 23: Simplifying Java with Module Import Declarations with JEP 476
JEP 476 represents a significant step towards simplifying Java programming by reducing boilerplate code and improving readability.
- A N M Bazlur Rahman
-
Exploring New Features in JDK 23: Simplifying Java with Primitive Type Patterns with JEP 455
How JEP 455 can be utilized to handle complex decision-making scenarios more efficiently. We’ll examine a practical example to illustrate the benefits of this feature.
- A N M Bazlur Rahman
-
Records for Cleaner and More Expressive Parameterized Tests in JUnit 5
Let’s examine how to leverage Java records for parameterized tests through a concrete example – testing an expression evaluator.
- A N M Bazlur Rahman
-
Journey of a Java Champion: Bert Jan Schrijver’s Path to Mastery and Community Leadership
Explore the insightful journey of Bert Jan Schrijver, a Java Champion, as he discusses his path in software development, the role of community, and the evolution of Java in this enlightening interview.
- A N M Bazlur Rahman
-
How to Diagnose and Mitigate Pinning in Java’s Virtual Thread Execution
In the context of virtual threads, pinning refers to the condition where a virtual thread is “stuck” to its carrier thread (the platform thread on which it runs).
- A N M Bazlur Rahman
-
Web Crawling in Java: A Tale of Classical Threads and Virtual Threads
A compelling narrative around web crawling in Java, contrasting classical threads with their newer counterpart: virtual threads.
- A N M Bazlur Rahman