Java, Kotlin and the JVM
25 subscribers
20 photos
2 videos
117 links
Java, Kotlin, Gradle, Maven, JDKs, Spring and the whole JVM ecosystem tips & tricks. 🇪🇸 & 🇬🇧
Download Telegram
The recent JDK release, JDK 23, completely removes the COMPAT database that Elasticseach is currently using, leaving CLDR as the only option for locale data. This means we are forced to change the locale database used by Elasticsearch running on JDK 23 and above when we upgrade to use JDK 23.


Important note about running #ElasticSearch in #JDK23. It also impacts you if you are using locale from jdk internal tables
Java is used on embedded platforms for in-car infotainment and information displays, home automation and production environment edge gateways, medical devices, appliances, and the list goes on.


https://foojay.io/today/a-fresh-look-at-embedded-java/
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
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/
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
Forwarded from The Daily Kotlin (Ruslan Ibragimov)
@kotlin_lang is 8 years old today!

The first message was written on December 14, 2016.
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