A minimalistic Java web framework

November 4, 2023

I have published a stable Java web framework focusing on minimalism.

https://github.com/byronka/minum

You will be hard-pressed to find a modern web framework as single-mindedly focused on minimalism, simplicity, and ease-of-use.

The first question I get asked about this is: "Why would I use this? What differentiates it from the many other web frameworks available?"

This is a framework intended for the rare individual starving for minimalism in a baroque world. Conventional frameworks, like Spring Boot, put high guardrails around capabilities. They embrace a paradigm of building blocks (e.g. "Transactional"). Most of the whirring parts are safely hidden away.

These guardrails require a large amount of code, which increases the complexity. New concepts require reading copious documentation on each building block. It also makes maintenance harder, since stacktraces will be made nearly useless by the hidden machinery. More code means more to read, which hinders deep understanding. It means there is more surface area for bugs to manifest.

In contrast, the Minum project follows the self-imposed constraint that smaller and lighter is better. Being an advocate for software quality, I built a system replete with automated testing, documentation, code invariants, and examples.

This is not for everyone, and I have no illusion that this will get very popular. It is an experiment, and caters to an unusual taste.

The goals of this software are to provide excellence in:

  • Minimalism
  • Ease of use
  • Maintainability
  • Debuggability
  • Performance
  • Documentation
  • Testing

It requires Java 21, for its virtual threads.

FAQ:

Does this handle (latest tech trend here)?
It might not.

Is it going to?
If it looks like it provides enduring value

Contact me at byronka (at) msn.com