31 Mar 2026
DZone Java Zone
Memory Optimization and Utilization in Java 25 LTS: Practical Best Practices
Memory tuning in Java has evolved over years and whenever each version was released, we anticipate some magic. If you worked with Java 6 or 7, you probably remember spending hours tweaking PermGen, experimenting with CMS flags, and nervously watching GC logs in production. But with Java 25, Memory Optimization and Utilization are more mature.
Modern Java gives us better garbage collectors, improved container awareness, stronger tooling, and smarter runtime ergonomics. But despite all that progress, memory optimization is something that you can't ignore. In a cloud-native environment where every gigabyte costs money, memory efficiency directly affects both performance and money spent on infrastructure as well.
In this article I am trying to summarize some of the best practices for memory utilization, so developers can use it as a reference guide.
1. Start with Measurement, Not Assumptions
The most common mistake that we could usually see is increasing heap size without understanding allocation patterns. A bigger heap often delays a problem rather than solving it.
31 Mar 2026 3:00pm GMT
30 Mar 2026
DZone Java Zone
Data-Driven API Testing in Java With REST Assured and TestNG: Part 5
In the previous articles, we discussed how to perform data-driven API automation testing with different approaches, including object arrays, iterators, CSV files, and JSON files.
An Excel file can also be used to perform data-driven API testing. It allows testers to store multiple test data in one place, where we can easily add, update, or remove test cases without changing the automation code. It allows non-technical members, such as Business Analysts and Product owners, to understand and edit the test data to perform robust testing.
30 Mar 2026 4:30pm GMT
Migrating Legacy Microservices to Modern Java and TypeScript
"Modernize the legacy stack" is a phrase that strikes dread into every senior engineer's heart - and for good reason. Migration projects fail at a notoriously high rate. They balloon in scope, break running systems, and produce tech debt that rivals what they replaced. I led successful migrations of critical microservices to modern runtimes, containerized deployments, and event-driven architectures - on time, without downtime, and with measurable gains in performance and reliability.
This article distills the frameworks, patterns, and hard lessons from those engagements into a practical guide for teams facing similar challenges.
30 Mar 2026 3:00pm GMT