Java 21
Created:
Collection of notes on Java 21
Virtual Threads: a performant alternative for io intensive
applications for async frameworks. Not using an async framework
tremendously simplifies your code. Code complexity has an enormous
projection on everything else, especially when talking on the business
level. First and foremost the cost of development and time to market
rises. And then comes the cost of maintenance.
– via
You can use jlink
to create a custom runtime you can
distribute with your application, so that your users don’t need to
download a JRE/JDK. You’ll still need to run this with the java command.
You can use also jpackage
to create an executable file you
can just double-click (.exe on Windows, whatever on mac and linux). – via
A categorized list of all Java and JVM features since JDK 8 to 21 - Advanced Web Machinery