Javarevisited

A humble place to learn Java and Programming better.

Member-only story

Engineering With Java: Digest #49

7 min readMar 18, 2025

--

Introduction 📝

In this edition, we cover tips on creating lightning-fast firewalls, implementing custom load balancing, and enhancing query caching in Hibernate. Plus, explore open-source tools like Apache Shiro and gain career development insights with expert blog recommendations.

Dive in, learn something new, and stay ahead in the fast-evolving world of Java development!

Subscribe to java and spring boot newsletter

Extending Java APIs — Add Missing Features Without the Hassle

  • This article discusses how to extend Java APIs with additional features using Manifold, a framework that allows developers to add methods to existing classes without modifying the original code.
  • This approach helps reduce verbosity and introduces convenient methods to Java classes, such as adding a map() method to Collection. Manifold achieves this by using compile-time extensions, ensuring no runtime overhead.
  • It includes ready-made extension libraries for collections, strings, I/O, and JSON. Additionally, Manifold allows extending arrays and creating structural interfaces, enabling more flexible and efficient development without waiting for new Java features.

--

--

Javarevisited
Javarevisited

Published in Javarevisited

A humble place to learn Java and Programming better.

Suraj Mishra
Suraj Mishra

Written by Suraj Mishra

Staff Software Engineer @PayPal ( All opinions are my own and not of my employer )

No responses yet