home.social

#java17 — Public Fediverse posts

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

fetched live
  1. Sealed Classes wurden mit Java 17 eingeführt und sind eines dieser Features, das man beim ersten Lesen vielleicht überfliegt, aber beim genaueren Hinsehen richtig spannend wird - vor allem, wenn man versteht, wofür sie gedacht sind. In diesem Beitrag möchte ich dir als Einsteiger zeigen, was es

    magicmarcy.de/sealed-classes

    #Sealed #Klasse #Java17 #Vererbung #Ableitung #non-sealed

  2. Sealed Classes wurden mit Java 17 eingeführt und sind eines dieser Features, das man beim ersten Lesen vielleicht überfliegt, aber beim genaueren Hinsehen richtig spannend wird – vor allem, wenn man versteht, wofür sie gedacht sind. In diesem Beitrag möchte ich dir als Einsteiger zeigen, was e

    magicmarcy.de/sealed-classes

    #Sealed #Klasse #Java17 #Vererbung #Ableitung #non-sealed

  3. Tired of writing boilerplate for DTOs that should just be immutable? Froporec lets you convert POJOs into real Java records—while keeping field access, compatibility, & even collections safe.

    @ashrafbayor breaks it down: javapro.io/2025/10/07/transfor

    #CleanCode #ProjectLombok #Java17

  4. Tired of writing boilerplate for DTOs that should just be immutable? Froporec lets you convert POJOs into real Java records—while keeping field access, compatibility, & even collections safe.

    @ashrafbayor breaks it down: javapro.io/2025/10/07/transfor

    #CleanCode #ProjectLombok #Java17

  5. In a groundbreaking move, Leaning Technologies finally brings Java 17 to browsers—because obviously, the internet was missing something tedious and slow. 🚀🎉 Now you can relive the 90s with Java applets right in your browser, just in time for 2025! 🤦‍♂️
    labs.leaningtech.com/blog/chee #Java17 #Browsers #LeaningTechnologies #Nostalgia #TechNews #HackerNews #ngated

  6. In a groundbreaking move, Leaning Technologies finally brings Java 17 to browsers—because obviously, the internet was missing something tedious and slow. 🚀🎉 Now you can relive the 90s with Java applets right in your browser, just in time for 2025! 🤦‍♂️
    labs.leaningtech.com/blog/chee #Java17 #Browsers #LeaningTechnologies #Nostalgia #TechNews #HackerNews #ngated

  7. JPackage в gradle для Java17

    В этой статье я расскажу вам, как создать исполняемое приложение на Java, используя инструмент jpackage и gradle.

    habr.com/ru/companies/axenix/a

    #javafx #jpackage #windows #linux #java17 #gradle #туториал #axenix

  8. Java. Мое решение для поиска изменений между двумя объектами. ChangeChecker

    Во время работы над аддоном для Jakarta-валидации мне пришлось писать логику по проверке изменений в модели по собственной аннотации CheckExistingByConstraintAndUnmodifiableAttributes. Долго разглядывал получившейся код, и в голову пришла светлая (наверное) идея: почему бы не вынести все это в полноценный настраиваемый класс?

    habr.com/ru/articles/840396/

    #java #java17

  9. I might have started something... 🤭

    #java17 #java21 @ASFMavenProject

    Apache Maven 4 might require Java 17...

  10. I might have started something... 🤭

    #java17 #java21 @ASFMavenProject

    Apache Maven 4 might require Java 17...

  11. It sounds pretty interesting if I would be able to easily migrate my older #opensource #Java8 projects to #Java17.

    However, I still need to answer some of my core questions
    - Is there any impact if you are not using #AWS?
    - How will this tool cope with the current dependency to the #RTP portion of JMF (yep, the old buggy Java Media Framework)?

    Upgrade your Java applications with Amazon Q Code Transformation (preview) | AWS News Blog
    aws.amazon.com/blogs/aws/upgra

    #java #FOSS #programming

  12. #Quarkus 3.7, planned for release in Jan-2024, will require #Java17 as the minimal JDK version to build & run applications.

    Why?
    - OpenJDK community ceased actively supporting Java 11 in Sep-2023
    - Quarkus dependencies are also upgrading their baseline to Java 17

    Details on #InfoQ: bit.ly/4awiFMw

    #Java

  13. 3.7, planned for release in Jan-2024, will require as the minimal JDK version to build & run applications.

    Why?
    - OpenJDK community ceased actively supporting Java 11 in Sep-2023
    - Quarkus dependencies are also upgrading their baseline to Java 17

    Details on : bit.ly/4awiFMw

  14. Our explicit goal was the discovery of problems to find out how the update to Java 17 meshes with other parallel efforts. As we were not necessarily looking for the perfect fix right now, we prioritized simple fixes or out-right disabling tests presenting bigger challenges (like legacy usage of JMockIt that collides with Jacoco and #Java17); the resulting commits were all over the place, but progress was steady...

  15. Our explicit goal was the discovery of problems to find out how the update to Java 17 meshes with other parallel efforts. As we were not necessarily looking for the perfect fix right now, we prioritized simple fixes or out-right disabling tests presenting bigger challenges (like legacy usage of JMockIt that collides with Jacoco and #Java17); the resulting commits were all over the place, but progress was steady...

  16. I am working in a team on upgrading a large #Java8 UI application to #Java17, and I really like the way #Git helps the collaboration.

    For discovery, we started an experimental branch and flipped the switch to Java 17 in the build process. Nearly everything from specific Gradle plugins needing to be updated, XML-DSIG SHA1 being disabled by secure mode, SimpleDateFormatter default formatting pattern change starts to show first during build, then through the unit, integration and UI tests...

  17. I am working in a team on upgrading a large #Java8 UI application to #Java17, and I really like the way #Git helps the collaboration.

    For discovery, we started an experimental branch and flipped the switch to Java 17 in the build process. Nearly everything from specific Gradle plugins needing to be updated, XML-DSIG SHA1 being disabled by secure mode, SimpleDateFormatter default formatting pattern change starts to show first during build, then through the unit, integration and UI tests...

  18. Grab an artifact here: github.com/tballison/tika-gui-

    And let me know what you think.

    Artifacts have the a #java17 #javafx jre bundled with them… if you’re curious about the size! 🤣🤣🤣

  19. Grab an artifact here: github.com/tballison/tika-gui-

    And let me know what you think.

    Artifacts have the a #java17 #javafx jre bundled with them… if you’re curious about the size! 🤣🤣🤣

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

  22. Already acquainted with the #Java release cadence & #Java17? Explore the #JavaRecord feature that allows immutable classes.

    Discover how this new feature can be used in your project code & how to make a clean & better design. Unlock its potential with this #InfoQ tutorial by Otavio Santana: bit.ly/3pdS0B7

  23. Already acquainted with the release cadence & ? Explore the feature that allows immutable classes.

    Discover how this new feature can be used in your project code & how to make a clean & better design. Unlock its potential with this tutorial by Otavio Santana: bit.ly/3pdS0B7

  24. Hey 👋 ! Have you done your 3 migration already 😬 ? In the team we've finally had some 🕐 to start migrating release tools to 3.0 and . Check the PR github.com/spring-cloud/spring. Feel free to leave a review 😄

  25. WHAT THE HOLY FUCK
    bugs.openjdk.org/browse/JDK-82

    The abbreviated name for September has deliberately changed from "Sep" to "Sept" in #java17 (For GB locale)

    Way to fuck over potentially any date parsing usage if the app is in Locale.UK

    Love that the workaround is to force Locale.US, but with a note "there is a very slim chance that CLDR could change the abbreviated name to "Sept" in Locale.US"

    Narrators note: it will _never_ change in Locale.US due to the collective US screams that would ensue

  26. WHAT THE HOLY FUCK
    bugs.openjdk.org/browse/JDK-82

    The abbreviated name for September has deliberately changed from "Sep" to "Sept" in #java17 (For GB locale)

    Way to fuck over potentially any date parsing usage if the app is in Locale.UK

    Love that the workaround is to force Locale.US, but with a note "there is a very slim chance that CLDR could change the abbreviated name to "Sept" in Locale.US"

    Narrators note: it will _never_ change in Locale.US due to the collective US screams that would ensue

  27. Feeling reasonably bad about not knowing all the differences between JDK 11 and 17 off the top of my head today. Spent a bit of time trying them out and feeling good about most of them, making my switch statements smaller mostly… #jdk #java #java17

  28. Feeling reasonably bad about not knowing all the differences between JDK 11 and 17 off the top of my head today. Spent a bit of time trying them out and feeling good about most of them, making my switch statements smaller mostly… #jdk #java #java17

  29. Red Hat has released WildFly 27, featuring support for JDK 11, JDK 17, Jakarta EE 10, and MicroProfile 5.0. There are also dependency upgrades to Hibernate ORM 6.1, Hibernate Search 6.1, Infinispan 14, JGroups 5.2, RESTEasy 6.2, and Weld 5. WildFly 27 is a compatible implementation for Jakarta EE 10, having passed the TCKs in the Platform, Web, and Core profiles.

    infoq.com/news/2022/12/wildfly

    #wildfly
    #jboss
    #jakartaee
    #java
    #java17
    #javaee
    #radhat

  30. Red Hat has released WildFly 27, featuring support for JDK 11, JDK 17, Jakarta EE 10, and MicroProfile 5.0. There are also dependency upgrades to Hibernate ORM 6.1, Hibernate Search 6.1, Infinispan 14, JGroups 5.2, RESTEasy 6.2, and Weld 5. WildFly 27 is a compatible implementation for Jakarta EE 10, having passed the TCKs in the Platform, Web, and Core profiles.

    infoq.com/news/2022/12/wildfly

    #wildfly
    #jboss
    #jakartaee
    #java
    #java17
    #javaee
    #radhat

  31. #java #Java17 #functional #spring #vavr

    Using pattern matching with sealed interfaces and the vavr Either type to give a much cleaner way to handle errors in a Spring Rest controller softwaremill.com/functional-er

  32. Using pattern matching with sealed interfaces and the vavr Either type to give a much cleaner way to handle errors in a Spring Rest controller softwaremill.com/functional-er

  33. Records für FreshMarker

    Seit Java 14 existieren Records als zusätzliches Klassenkonstrukt im Sprachumfang. Daher wäre es schön, diese kompakte Variante von immutablen Klassen auch in der Template-Engine FreshMarker nutzen zu können. Wie einfach die Unterstützung für Records implementiert werden kann, soll dieser Beitrag veranschaulichen.

    schegge.de/2022/11/records-fue

    #Bibliotheken #Java #FreeMarker #FreshMarker #Java #Java17 #Records #TemplateEngine

  34. heise+ | Java 17: LTS-Release rundet wichtige Sprachfeatures ab

    Java 17 verspricht neben mehr Klarheit bei der Syntax und neuen Datentypen auch die sprachlichen Entwicklungen der letzten drei Jahre endlich abzuschließen.
    Java 17: LTS-Release rundet wichtige Sprachfeatures ab
  35. Das LTS-Release JDK 17 hat Pattern Matching für Switch Expressions als Preview-Feature an Bord. Die nächste LTS-Version könnte schon in zwei Jahren anstehen.
    Programmiersprache: Java 17 erweitert Pattern Matching und versiegelt Klassen