Why @Annotations Will Eventually Burn You.

Preach annotation voodoo or embrace explicit method calls? Too many still cling to @PreAuthorize, entrusting their fate to framework black magic. But such blind faith is brittle. One innocent Spring Boot update, and suddenly your security vanishes unless you summon an obscure @Enable... incantation.

Prefer the custom preauthorize() method: it’s concrete, predictable, and the compiler screams when something breaks as it should. Just like how constructor injection finally defeated the field-injection cult, it’s time to retire annotation worship elsewhere too.

Consider @JsonProperty("fieldName"): sure, the object mapper might infer names correctly without it, until one day it doesn’t, because the naming strategy changes behind your back. It’s happened. It will happen again. That’s the price of depending on invisible magic. Unreadable, unpredictable, unmaintainable. Same applies to reflection.

Frameworks and their “best practices” are relics of the monolith age. Java has evolved: threads, HTTP services, logging,… all can now be built functionally, fluently, and natively. It’s not Java vs Kotlin or some trendy syntax candy. Languages, especially those that compile, already give you more than enough. The bottleneck isn’t the tool, it’s the one holding it.

#Java #SpringBoot #CleanCode #SoftwareEngineering #CodeQuality #Programming #ModernJava #DeveloperExperience #DevMindset #NoMoreMagic #ReadableCode #ExplicitOverImplicit #SayNoToAnnotations #SeparationOfConcerns #FunctionalProgramming

#java luminaries meeting before the start of @jcon
Currently the group is sharing many opinions on how to get "young" developers interested in #modernJava.

1995: #Java is slow.
2025: Java is almost too fast to comprehend.
Join @javacoding on a #Performance journey through 30 years of #JVM evolution.

How did Java get this fast? Find out here:
https://javapro.io/2025/04/07/hitchhikers-guide-to-java-performance/

#ModernJava #GraalVM #ProjectLoom #GarbageCollection #ZGC

Hitchhiker's Guide to Java Performance - JAVAPRO International

The Past, The Present and The Future Over the last 30 years, Java has evolved from an exotic…

JAVAPRO International

Java Is Becoming a Monster (And I Love It)
I used to think Java was done. Stale. Verbose. A relic.
But now? It mutated. It spawns 5000 virtual threads like it’s nothing.

I just built a REST service:
✅ Runs on virtual threads
✅ Functional pipelines
✅ Only a few MB RAM
✅ No thread-pools
✅ No leaks
✅ Pure JVM

This isn't Java 8 anymore.

✨ No Groovy. No Kotlin. No detours.
Java is now useful and gets Beautiful.

And then there’s GraalVM:
If you skip reflection and runtime init, you get:
⚡ Native executables
⚡ Instant startup
⚡ Tiny memory
⚡ No runtime surprises

Game. Changed.

But OSS frameworks?
Still look frozen in 2015.
Heavy, reflective, runtime-hacked monsters.

So I built my own tools:

🔥 TypeMap
→ Zero-reflection json/xlm reader & type converter
→ GraalVM native
→ Fast. Simple. Functional.
https://github.com/YunaBraska/type-map

⚔️ Nano
→ Anti-framework
→ Static main, no DI magic
→ Pure, clean design
https://github.com/NanoNative/nano

🧪 Nano example app
➡️ One single static main file
https://github.com/YunaBraska/nano-graalvm-example

🛠 API-Doc-Crafter
➡️ Native CLI doc tool
https://github.com/YunaBraska/api-doc-crafter

🧭 My Java Functional Guidelines
https://devabyss.hashnode.dev/java-functional-guidelines

Java isn't just catching up.
It’s setting the pace now.

The only question is:
Can frameworks and libraries keep up?

#Java #GraalVM #VirtualThreads #FunctionalProgramming #JVM #ModernJava #coding #Programming

GitHub - YunaBraska/type-map: TypeMap and TypeConverter for a dynamic, extendable, high-performance type conversion library that's native-ready for GraalVM. This robust Java utility provides type-safe retrieval and conversion, leveraging ConcurrentHashMap for thread-safe operations without reflection.

TypeMap and TypeConverter for a dynamic, extendable, high-performance type conversion library that's native-ready for GraalVM. This robust Java utility provides type-safe retrieval and conversi...

GitHub

🚀 Java 24 is here! 🦾

Modern Java has outpaced frameworks, waiting for them to catch up. With GraalVM, Virtual Threads, Native Compilation, and Functional Programming, do we even need frameworks anymore? 🤔

🔹 Java 24 optimizations I love:
✅ JEP 450 - Compact Object Headers for memory efficiency
✅ JEP 488 - Primitive types acting like objects

⚠️ No more 32-bit x86 support!

Java releases features only when they are ready. No half-baked experiments. Can’t wait for future operators like ?, ??, !., and ?..

Java is evolving fast. Are you keeping up? 🚀

#Java24 #GraalVM #VirtualThreads #ModernJava #FunctionalProgramming #programming

🚨 When your code is a few KB, but your dependencies rival AAA game installations. Still believe in fairy tales of secure code?

Gigabytes of code you didn't write. Licences you didn't read. Security flaws you didn't anticipate. Yet, you trust them. Adorable.

Not just Node.js. Gradle caches, AWS libs with 400 sub-dependencies + reflection parties. In control? How cute.

I use plain Java with jlink + jpackage. Minimal. Secure. No bloat.

Fewer deps = fewer surprises. Because I care.

But hey, keep stacking that Jenga tower. Watching it fall will be fun.

#MinimalismMatters #CleanCode #DependencyHell #JavaPurist #DoYouEvenCare #LessIsMore #CodeSmart #TechDebt #DependencyManagement #JavaDeveloper #SecureCoding #LightweightCode #ModernJava #RefactorYourLife #NoBloat #CodeQuality #developer #code

🚀 Rediscover Java with my Modern Java series! Gone are the days of verbose syntax; welcome a leaner, meaner Java for the cloud era. Perfect for those who remember JDK 1.4 ..1.6. #JavaRevolution #ModernJava #java https://www.youtube.com/playlist?list=PL8GhfcywW9YNuNHrG0FAg5xiprfYcYyuL
Modern Java - Update your Java experience, pick up new features and techniques

YouTube

🚀 Rediscover Java with my Modern Java series!

Gone are the days of verbose syntax; welcome a leaner, meaner Java for the cloud era. Perfect for those who remember JDK 1.4 ..1.6. #JavaRevolution #ModernJava #java https://www.youtube.com/playlist?list=PL8GhfcywW9YNuNHrG0FAg5xiprfYcYyuL

Modern Java - Update your Java experience, pick up new features and techniques

YouTube