#java21 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #java21, aggregated by home.social.
-
📬 Stay tuned:If you don’t want to miss the upcoming parts of this Java 21 Certification series
Read more 👉 https://lttr.ai/AqCXk
-
In this series, I’ll share practical tips to help you understand the new features of Java 21 and get ready to pass the certification exam with confidence.
Read more 👉 https://lttr.ai/Ama8v
-
Welcome to the fifth article in my series on preparing for the Java 21 certification.
Read more 👉 https://lttr.ai/AqCXY
-
These operations have existed since Java 1.4; however, we don't use them every day, so it can be a little hard.
Read more 👉 https://lttr.ai/Ama8p
-
These concepts aren’t something most developers use in their daily work, so they can feel a bit tricky.
Read more 👉 https://lttr.ai/AprKK
-
In this series, I’ll share practical tips to help you understand the new features of Java 21 and get ready to pass the certification exam with confidence.
Read more 👉 https://lttr.ai/AphQr
-
True or False: An unnamed module includes all the classes on the classpath that are not part of any named module ?
Read more 👉 https://lttr.ai/ApVIv
-
In this article, we’ll focus on Serializable and IO operations.
Read more 👉 https://lttr.ai/ApIrg
-
In this article, we’ll focus on bitwise operations and binary number representation.
Read more 👉 https://lttr.ai/Ama8Q
-
How I was able to finish in about 90 minutes and scored 82%.
Read more 👉 https://lttr.ai/AoufB
-
Java 21 Certification Guide - Part 6
▸ https://lttr.ai/Aome2 -
In this article, we’ll focus on switch expressions, utilizing pattern matching for switches and enums.
Read more 👉 https://lttr.ai/AodEW
-
Java 21 Certification Guide - Part 6
Read more 👉 https://lttr.ai/Ama70
-
Java 21 Certification Guide - Part 4
▸ https://lttr.ai/Ama7s -
To make things practical, we’ll analyze a question in the style of the certification exam.
Read more 👉 https://lttr.ai/An9r8
-
For years we accepted a trade-off: Python for scripts, Java for systems.
With JBang and Java 21, that trade-off is gone.
You can now write single-file Java scripts with near-zero friction and promote them to production without a rewrite.
Hands-on examples: HTTP servers, CLIs, async clients, matrix math.
https://www.the-main-thread.com/p/java-is-the-new-python-jbang-java-21
#Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM
-
For years we accepted a trade-off: Python for scripts, Java for systems.
With JBang and Java 21, that trade-off is gone.
You can now write single-file Java scripts with near-zero friction and promote them to production without a rewrite.
Hands-on examples: HTTP servers, CLIs, async clients, matrix math.
https://www.the-main-thread.com/p/java-is-the-new-python-jbang-java-21
#Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM
-
For years we accepted a trade-off: Python for scripts, Java for systems.
With JBang and Java 21, that trade-off is gone.
You can now write single-file Java scripts with near-zero friction and promote them to production without a rewrite.
Hands-on examples: HTTP servers, CLIs, async clients, matrix math.
https://www.the-main-thread.com/p/java-is-the-new-python-jbang-java-21
#Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM
-
For years we accepted a trade-off: Python for scripts, Java for systems.
With JBang and Java 21, that trade-off is gone.
You can now write single-file Java scripts with near-zero friction and promote them to production without a rewrite.
Hands-on examples: HTTP servers, CLIs, async clients, matrix math.
https://www.the-main-thread.com/p/java-is-the-new-python-jbang-java-21
#Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM
-
For years we accepted a trade-off: Python for scripts, Java for systems.
With JBang and Java 21, that trade-off is gone.
You can now write single-file Java scripts with near-zero friction and promote them to production without a rewrite.
Hands-on examples: HTTP servers, CLIs, async clients, matrix math.
https://www.the-main-thread.com/p/java-is-the-new-python-jbang-java-21
#Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM
-
True or False: A named module can read from the unnamed module only if the requires directive is present?
Read the full article: Java 21 Certification Guide - Part 6
▸ https://lttr.ai/An2Fq -
Создаем Telegram-бота для отслеживания погоды за 5 минут с помощью Nyagram (а не очередного PizzaBot)
В большинстве туториалов по Java-ботам нам предлагают написать EchoBot или магазин пиццы на огромных switch-case конструкциях. Но в 2026 году, когда у нас есть Java 21 и Spring Boot 3 , писать бойлерплейт — это преступление против продуктивности. Сегодня мы напишем WeatherBot — полезного бота, который показывает реальную погоду через API OpenWeatherMap, имеет кнопку обновления "на лету" и, используя FSM (Машину состояний) с валидацией данных, позволяет настроить ежедневную рассылку прогноза.
https://habr.com/ru/articles/991414/
#telegram #java #telegrambot #github #java21 #spring_boot #spring_mvc #боты #tutorial #программирование
-
True or False: An unnamed module includes all the classes on the classpath that are not part of any named module ?
Read the full article: Java 21 Certification Guide - Part 6
▸ https://lttr.ai/Ama5C -
The Java SE 21 certification is currently the latest available exam, and let me tell you: it’s tough, but not impossible.
Read more 👉 https://lttr.ai/Ama49
-
In this article, we’ll focus on bitwise operations and binary number representation.
Read more 👉 https://lttr.ai/Ama47
-
In this article, we’ll focus on modules, introduced on Java 9.
Read more 👉 https://lttr.ai/AnXPL
-
The goal here is to expose you to several tricky details that often show up in the Java 21 certification exam.
Read more 👉 https://lttr.ai/AnUj1
-
Java 21 Certification Guide - Part 5
▸ https://lttr.ai/Ama4x -
Java Streams Deep Dive — Beyond takeWhile and dropWhile
Read more 👉 https://lttr.ai/AnMpQ
-
📬 Stay tuned:If you don’t want to miss the upcoming parts of this Java 21 Certification series
Read more 👉 https://lttr.ai/Ama4n
-
How I was able to finish in about 90 minutes and scored 82%.
Read the full article: My Experience Taking the Java SE 21 Exam (1Z0-830)
▸ https://lttr.ai/Ama4g -
To make things practical, we’ll analyze a question in the style of the certification exam.
Read the full article: Java 21 Certification Guide - Part 4
▸ https://lttr.ai/Ama4e -
Java 21 Virtual Threads are not theoretical anymore.
They work well for real workloads.I built a pixel-art image processing service with Quarkus using only Virtual Threads.
Blocking I/O. CPU-heavy math. Clean synchronous code.No reactive complexity.
Just modern Java.👉 https://www.the-main-thread.com/p/java-21-virtual-threads-quarkus-image-processing
-
Java as a scripting language?
Yes. And it’s actually good now.I just published a hands-on guide to JBang: single-file Java, instant execution, inline deps, real CLI tools, even Quarkus APIs.
If you’ve ever wished Java “felt faster,” this one’s for you.
👇
https://www.the-main-thread.com/p/jbang-java-scripting-tutorial -
In this article, we’ll focus on Java Streams.
Read more 👉 https://lttr.ai/AmWtW
-
Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией
Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.
https://habr.com/ru/articles/966986/
#MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering
-
Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией
Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.
https://habr.com/ru/articles/966986/
#MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering
-
Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией
Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.
https://habr.com/ru/articles/966986/
#MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering
-
Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией
Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.
https://habr.com/ru/articles/966986/
#MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering
-
DropWhile skips elements until the predicate fails, then includes the rest.
Read more 👉 https://lttr.ai/AleAy
-
First JDK 21 Release Candidate: https://mail.openjdk.org/pipermail/jdk-dev/2023-August/008059.html; downloads: https://jdk.java.net/21/ #JDK21 #Java21 #OpenJDK #TestItNow
-
What's shaping the future of Java?
🎙️ Listen to the #InfoQ #podcast as Michael Redlich & Daniel Bryant unpack the latest #InfoQ #Java #TrendsReport: https://bit.ly/46Hgsud
Topics covered:
✅ the release of #Java21
✅ the adoption of #JavaVirtualThreads
✅ the evolution of the #JakartaEE & #Spring projects
✅ the development of community & ecosystem projects -
🚀 New Release: API-Doc-Crafter just got sharper. Cleaner. Meaner.
Giving my little OpenAPI merging monster some upgrades.It all started with a simple idea: merge OpenAPI specs from multiple repos.
Now? It transforms outdated Swagger specs to OpenAPI 3+, generates HTML pages with full navigation, and allows customization via config or env.✨ SecurityRequirement deduplication - because why merge APIs if you can't also merge logic?
🧠 Custom metadata enrichment - inject your info, license, contact, and docs straight from config. No more excuses.
🔁 Better parser fallback - now tries more ways to read broken specs than your average intern in panic mode.
🎭 Variable substitution in outputs - ${variables} be gone. Use env or config, stay DRY, stay sane.
🧪 Tests expanded. HTML, JSON, YAML outputs covered like a nuclear bunker.
🧰 Powered by GraalVM, no reflection, blazing fast.
🐳 Native Docker builds.
🧼 Reflection config surgically trimmed. Less bloat. More edge.Project: https://github.com/YunaBraska/api-doc-crafter
Happy crafting. And remember: if your docs aren't automated, they're probably lies.#OpenAPI #Swagger #APIdocumentation #DevTools #GraalVM #Java21 #Docker #Automation #CleanCode #DevLife #APIDocs #OpenSource #DeveloperTools #coding #programming
-
Oracle's #Java21 release is here!
The final feature set includes 15 #JEPs.
#VirtualThreads, #RecordPatterns & #PatternMatching for Switch - have completed their respective rounds of previews and are now finalized.
More insights on #InfoQ: https://bit.ly/3EM5urY
-
At work, I maintain a #java app with #JavaEE backend and #vue2 frontend. It's #java17 already, #JakartaEE will shortly follow due to the #ApacheShiro 2.0 update. It runs on #Java20 so it will be ported to #java21 soon!
However, that's only half of my job. The other is: making Java, web- and appservers ready for deployment, hardening everything, creating scripts for automation and deployment, a few other Java apps...
... I love it, and I have never seen a similar job description in my life!
-
Как положить приложение 21 запросом* к /actuator/health
Уточнение для въедливых :) * 21 и более параллельным запросом в определённых условиях :) Привет, сегодня поговорим о подводных камнях использования виртуальных потоков в написанных на Java веб-приложениях. В статье описан случай из жизни, сперва поставивший в тупик, но оказавшийся не столь уж и запутанным, а причина и вовсе была известна и документирована.
https://habr.com/ru/articles/832568/
#java #java21 #project_loom #многопоточность #spring_boot #feign #virtual_threads
-
#StructuredConcurrency aims to make concurrent code readable and safe. But how does it compare to CompletableFuture? Merlin Bögershausen dives into #Java21’s latest preview features.
Deep insights + code → https://javapro.io/2025/07/22/more-action-more-overview/
-
Nebenläufigkeit in #Java war oft mit Komplexität und Overhead verbunden. #Java21 bricht mit alten Konzepten und bringt Werkzeuge wie #StructuredConcurrency.
Lese im Artikel von Merlin Bögershausen, wie Sie damit Ihre Projekte modernisieren: https://javapro.io/de/mehr-action-mehr-uebersicht/
-
Can #VirtualThreads really replace platform threads — at scale? Merlin Bögershausen examines new #Java21 #Concurrency #APIs, from StructuredTaskScope to lightweight threading.
Find out what actually changes → https://javapro.io/2025/07/22/more-action-more-overview/
-
#Java’s #Concurrency model has evolved: from Thread to ExecutorService to #VirtualThreads & Scoped Values. Merlin Bögershausen explains what matters in #Java21 — and why old patterns may hold you back.
Full article → https://javapro.io/2025/07/22/more-action-more-overview/