If you want to know why LTS and semantic versioning has been a hot topic during the last week in the Java community.
Read this mail https://mail.openjdk.org/pipermail/jdk-dev/2024-October/009433.html
And also this JEP buthttps://openjdk.org/jeps/14
Read this mail https://mail.openjdk.org/pipermail/jdk-dev/2024-October/009433.html
And also this JEP buthttps://openjdk.org/jeps/14
I haven't used Hibernate since 2018, from time to time I read something about new features and I get impressed.
Too much black magic for me, but I can see the value in certain scenarios.
https://vladmihalcea.com/hibernate-softdelete-annotation/
Too much black magic for me, but I can see the value in certain scenarios.
https://vladmihalcea.com/hibernate-softdelete-annotation/
Vlad Mihalcea
Hibernate SoftDelete annotation - Vlad Mihalcea
Learn how to use the Hibernate SoftDelete annotation to activate soft deleting for JPA entities, and how it compares to other options.
A record is a nominal tuple — a transparent, shallowly immutable carrier for a specific ordered sequence of elements. There are many interesting aspects of record classes, as can be read in Brian Goetz’s article, Java 14 Feature Spotlight: Records, but here we will focus on one of the lesser known aspects, record serialization, and how it differs from (and I would argue is better than) serialization of normal classes
https://docs.oracle.com/en/java/javase/21/serializable-records/index.html
Oracle
Serializable Records
Forwarded from The Daily Kotlin (Ruslan Ibragimov)
Have you suffered ThreadLocals?
Scoped Values are a significant enhancement to Java because they provide a more efficient and safer mechanism for sharing data across threads, especially with virtual threads. Unlike thread-local variables, Scoped Values offer controlled mutability, bounded lifetimes, and reduced overhead, addressing critical issues like memory leaks and complexity, ultimately leading to more reliable and performant applications.
https://openjdk.org/jeps/487
Scoped Values are a significant enhancement to Java because they provide a more efficient and safer mechanism for sharing data across threads, especially with virtual threads. Unlike thread-local variables, Scoped Values offer controlled mutability, bounded lifetimes, and reduced overhead, addressing critical issues like memory leaks and complexity, ultimately leading to more reliable and performant applications.
https://openjdk.org/jeps/487
Not strictly related to Java or JVM but I liked the article and I hope you find it interesting
https://codesai.com/posts/2025/03/mockist-tdd-unit-not-the-class
https://codesai.com/posts/2025/03/mockist-tdd-unit-not-the-class
Codesai
The class is not the unit in the London school style of TDD
Somos un equipo versado en Extreme Programming, ofrecemos desarrollo de software, formación, asesoramiento y apoyo en proyectos.
❤1
JDK 24 is out!! The final release before the new LTS coming in September.
https://blogs.oracle.com/java/post/the-arrival-of-java-24
https://blogs.oracle.com/java/post/the-arrival-of-java-24
👏1
JDK 24 introduces the concept of an ahead-of-time cache which incrementally improves upon the CDS technology that has been a part of the JDK since 2004.
JEP 483 is a first deliverable of the Project Leyden whose goal it is to improve startup, warmup and footprint of Java programs while staying true to the dynamic nature of the Java language
https://inside.java/2025/03/19/performance-improvements-in-jdk24/
inside.java
Performance Improvements in JDK 24
Java is constantly evolving with ever increasing performance. JDK 24 comes with significant performance improvements compared to previous versions including improved virtual thread handling, reduced startup time, optimized FFM memory bulk operations…
👏1
The kotlin-metadata-jvm library extracts structured information from compiled Kotlin .class files, such as class names, visibility, and signatures. You can use it in projects that need to analyze compiled Kotlin declarations.
https://kotlinlang.org/docs/metadata-jvm.html#modify-metadata
https://kotlinlang.org/docs/metadata-jvm.html#modify-metadata
Kotlin Help
Kotlin Metadata JVM library | Kotlin