A Bootiful Podcast: Java community legend Sharat Chander
Hi, Spring fans! Java 21 is out and in order to celebrate, I talk to Java community legend Sharat Chander.
Hi, Spring fans! Java 21 is out and in order to celebrate, I talk to Java community legend Sharat Chander.
Hi, Spring fans!
Before we get started, do something for me quickly. If you haven’t already, go install SKDMAN.
Then run:
sdk install java 21-graalce && sdk default java 21-graalce
There you have it. You now have Java 21 and graalvm supporting Java 21 on your machine, ready to go. Java 21 is, in my estimation, the most critical release of Java, perhaps ever, in that it implies a whole new world of opportunities for people using Java. It brings a slew of nice APIs and additions, like pattern matching, culminating years of features slowly and steadily adding to the platform. But…
Hi, Spring fans! Java 21 and GraalVM supporting Java 21 are at long last here! It's been a long time in coming, but Java 21 - which comes out later today on the 19th of September, 2023 - brings with it some of the most exciting new features of any Java release. In this video, I (https://www.youtube.com/@coffeesoftware) will look at some of the foundational features from Java 17 and see how they culminate in Java 21. I'll look at the biggest features - virtual threads and pattern matching. I'll also look at some of the quality-of-life features that you might not otherwise notice, but that are…
Hi, Spring fans! Welcome to another installment of This Week in Spring - Java 21 edition!
The big news, indeed, the biggest news, is that Java 21 is now available here! You should use SDKMAN to install it, like this: sdk install java 21-graalce && sdk default java 21-graalce
. This install givews you both the new Java 21 OpenJDK distribution and the new GraalVM native image support for Java 21. It works just fine with existing versions of Spring Boot, but the real payoff will be with Spring Boot 3.2, where you'll be able to plug in virtual threads with nary but a flick of a property: spring.threads.virtual.enabled=true
. Spring Boot 3.…
Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you this fine 12th of September? I'm doing alright, elated, even. I've just returned from beautiful Oslo, Norway, and I've got a busy 30 days or so ahead, starting today. I'm visiting Seattle, WA; Mexico City, Mexico; Dallas, TX; Singapore (SpringOne Singapore); Antwerp, Belgium (Devoxx BE!); London, United Kingdom; Amsterdam, Netherlands; and (maybe) parts of Germany. Keep an eye on my socials and videos for details as those dates and duties become clearer. Anyway, we've got a ton to look into this week, so…
This has been a very long time in coming, but finally we can create GraalVM native images that use Spring Boot (via Spring Boot 3.2) and Java 21's virtual threads (Project Loom)!
Why does all this matter? Each of these individual things, Project Loom, and GraalVM native images, offer compelling runtime characteristics. I've waited so very long for these to converge! Let's talk about them each in turn.
GraalVM is an OpenJDk distribution that provides some extra utilities, including a utility called native-image
that does ahead-of-time (AOT) compilation on your code. We're…
Hi, Spring fans! Welcome to another installment of a Bootiful Podcast. In this interview, Josh Long (@starbuxman) talks to Spring Security legend and lead Rob Winch (@rob_winch), recorded live from SpringOne 2023!
Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you? I just got back from another fabulous labor day weekend, and am headed to Oslo, Norway, for the fabulous JavaZone 2023 event. This will be my first time returning to lovely Oslo, Norway, since the pandemic! I can't wait! If you're there, don't hesitate to say "hey"!
Hi, Spring fans! In this installment Josh Long talks to Spring contributor and adjunct professor at Mines Paris, Daniel Garnier-Moiroux (@kehrlann), about the wild and wonderful intersection of all things Spring Security and Kubernetes, productized Spring Cloud Services, and more, recorded live at SpringOne 2023 from Las Vegas, Nevada!
Starting with Spring Data JDBC 3.2.0-M2, Spring Data JDBC supports Single Query Loading. Single Query Loading loads arbitrary aggregates with a single select statement.
To enable Single Query Loading you need to call setSingleQueryLoadingEnabled(true)
on your RelationalMappingContext
.
In 3.2.0-M2, this works only for simple aggregates, consisting of an aggregate root and a single collection of other entities.
It is also limited to the findAll
, findById
, and findAllByIds
methods in CrudRepository
.
Future versions will improve on that.
A final limitation is that the database you use has to support analytic functions (AKA window functions).
All the officially supported databases except…