home.social

#java21 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #java21, aggregated by home.social.

  1. 📬 Stay tuned:If you don’t want to miss the upcoming parts of this Java 21 Certification series

    Read more 👉 lttr.ai/AqCXk

    #java21 #Java21Certification

  2. 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 👉 lttr.ai/Ama8v

    #Java21 #Java #certification

  3. Welcome to the fifth article in my series on preparing for the Java 21 certification.

    Read more 👉 lttr.ai/AqCXY

    #java21 #Java21Certification

  4. 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 👉 lttr.ai/Ama8p

    #java21 #Java21Certification

  5. These concepts aren’t something most developers use in their daily work, so they can feel a bit tricky.

    Read more 👉 lttr.ai/AprKK

    #java21 #Java21Certification

  6. 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 👉 lttr.ai/AphQr

    #Java21 #Java #certification

  7. True or False: An unnamed module includes all the classes on the classpath that are not part of any named module ?

    Read more 👉 lttr.ai/ApVIv

    #certification #java21 #Java21Certification

  8. In this article, we’ll focus on Serializable and IO operations.

    Read more 👉 lttr.ai/ApIrg

    #java21 #Java21Certification

  9. In this article, we’ll focus on bitwise operations and binary number representation.

    Read more 👉 lttr.ai/Ama8Q

    #java21 #Java21Certification

  10. In this article, we’ll focus on switch expressions, utilizing pattern matching for switches and enums.

    Read more 👉 lttr.ai/AodEW

    #Java21 #Java #certification

  11. To make things practical, we’ll analyze a question in the style of the certification exam.

    Read more 👉 lttr.ai/An9r8

    #java21 #Java21Certification

  12. 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.

    the-main-thread.com/p/java-is-

    #Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM

  13. 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.

    the-main-thread.com/p/java-is-

    #Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM

  14. 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.

    the-main-thread.com/p/java-is-

    #Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM

  15. 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.

    the-main-thread.com/p/java-is-

    #Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM

  16. 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.

    the-main-thread.com/p/java-is-

    #Java #JBang #Java21 #DevExperience #SoftwareEngineering #JVM

  17. 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
    lttr.ai/An2Fq

    #certification #java21 #Java21Certification

  18. Создаем Telegram-бота для отслеживания погоды за 5 минут с помощью Nyagram (а не очередного PizzaBot)

    В большинстве туториалов по Java-ботам нам предлагают написать EchoBot или магазин пиццы на огромных switch-case конструкциях. Но в 2026 году, когда у нас есть Java 21 и Spring Boot 3 , писать бойлерплейт — это преступление против продуктивности. Сегодня мы напишем WeatherBot — полезного бота, который показывает реальную погоду через API OpenWeatherMap, имеет кнопку обновления "на лету" и, используя FSM (Машину состояний) с валидацией данных, позволяет настроить ежедневную рассылку прогноза.

    habr.com/ru/articles/991414/

    #telegram #java #telegrambot #github #java21 #spring_boot #spring_mvc #боты #tutorial #программирование

  19. 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
    lttr.ai/Ama5C

    #certification #java21 #Java21Certification

  20. The Java SE 21 certification is currently the latest available exam, and let me tell you: it’s tough, but not impossible.

    Read more 👉 lttr.ai/Ama49

    #java21 #javaCertification #certification

  21. In this article, we’ll focus on bitwise operations and binary number representation.

    Read more 👉 lttr.ai/Ama47

    #java21 #Java21Certification

  22. The goal here is to expose you to several tricky details that often show up in the Java 21 certification exam.

    Read more 👉 lttr.ai/AnUj1

    #Java21 #Java #certification

  23. 📬 Stay tuned:If you don’t want to miss the upcoming parts of this Java 21 Certification series

    Read more 👉 lttr.ai/Ama4n

    #java21 #Java21Certification

  24. 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)
    lttr.ai/Ama4g

    #java21 #javaCertification #certification

  25. 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
    lttr.ai/Ama4e

    #java21 #Java21Certification

  26. 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.

    👉 the-main-thread.com/p/java-21-

    #Java #Java21 #VirtualThreads #Quarkus #BackendDevelopment

  27. 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.
    👇
    the-main-thread.com/p/jbang-ja

    #Java #JBang #Java21 #DeveloperExperience #Quarkus

  28. Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией

    Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.

    habr.com/ru/articles/966986/

    #MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering

  29. Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией

    Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.

    habr.com/ru/articles/966986/

    #MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering

  30. Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией

    Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.

    habr.com/ru/articles/966986/

    #MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering

  31. Создаём мини-фреймворк для MapReduce в Scala с конкретной реализацией

    Статья демонстрирует построение минималистичного MapReduce-фреймворка на Scala для локальных экспериментов. Рассматриваются стадии Map , Shuffle и Reduce с ленивыми вычислениями через Iterator , а также абстракции ввода/вывода IO и локальные исполнители с виртуальными потоками.

    habr.com/ru/articles/966986/

    #MapReduce #Scala #java21 #многопоточность #функциональное_программирование #sbt #фреймворк #jvm #bigdata #data_engineering

  32. DropWhile skips elements until the predicate fails, then includes the rest.

    Read more 👉 lttr.ai/AleAy

    #java #JavaCertification #java21

  33. What's shaping the future of Java?

    🎙️ Listen to the #InfoQ #podcast as Michael Redlich & Daniel Bryant unpack the latest #InfoQ #Java #TrendsReport: 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

    #JavaTrends #StayAhead

  34. 🚀 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: github.com/YunaBraska/api-doc-
    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

  35. 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: bit.ly/3EM5urY

    #Java

  36. 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!

  37. Как положить приложение 21 запросом* к /actuator/health

    Уточнение для въедливых :) * 21 и более параллельным запросом в определённых условиях :) Привет, сегодня поговорим о подводных камнях использования виртуальных потоков в написанных на Java веб-приложениях. В статье описан случай из жизни, сперва поставивший в тупик, но оказавшийся не столь уж и запутанным, а причина и вовсе была известна и документирована.

    habr.com/ru/articles/832568/

    #java #java21 #project_loom #многопоточность #spring_boot #feign #virtual_threads

  38. #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 → javapro.io/2025/07/22/more-act

    #VirtualThreads #Concurrency #JVM @openjdk

  39. 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: javapro.io/de/mehr-action-mehr

    @openjdk

  40. 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 → javapro.io/2025/07/22/more-act

    #JVM #StructuredConcurrency @openjdk

  41. #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 → javapro.io/2025/07/22/more-act

    #JVM #StructuredConcurrency @openjdk