Java Annotated Monthly – May 2022
Each month, we take a dive into the latest Java community news. Grab a cup of your favorite beverage, have a seat, and let’s go!
- JEP 425: Virtual Threads – Learn about the introduction of virtual threads to the Java Platform. Virtual threads are lightweight threads that dramatically reduce the effort of writing, maintaining, and observing high-throughput concurrent applications.
- JEP 427: Pattern Matching for switch – Extending pattern matching to switch allows an expression to be tested against a number of patterns, each with a specific action, so that complex data-oriented queries can be expressed concisely and safely.
- Oracle JRE and JDK Cryptographic Roadmap – If you are curious about Oracle’s plans for Q3 and Q4, this article will give you a general overview.
- New Relic’s 2022 State of the Java Ecosystem Report – The goal of this report is to provide context and insights into the state of the Java ecosystem today.
Java Tutorials & Tips
- Migrating from the `javax` to `jakarta` namespace – In a six-episode miniseries, Helen Scott explains how to transition your application from Java EE to Jakarta EE. If you prefer a written rather than video format, here is Helen’s blog on this topic.
- Break in Switch With Pattern Matching – In his latest newsletter, Heinz M. Kabutz explains what happens when we use “break” inside the case statement.
- Learn how to move your existing Java app to Kubernetes—without changing a single line of code – Two redhatters, Don Schenck and Chris Short, created an hour-long video on how to deploy and manage your existing source code as containers.
- Interview about microservices with Koushik Kothagal – Chris Richardson gives us fifty minutes of discussions about microservices and microservices patterns.
- Spring Boot Tutorial, Maven Tutorial and J Unit 5 Tutorial – You have probably seen a lot of tutorials, but these from Marco Behler are really nice and easy.
- CVE-2022-21449: Psychic Signatures in Java – Neil Madden’s blog about the ECDSA bug is both a very important information piece and a thrilling detective story.
- Top 10 Java Language Features – A N M Bazlur Rahman collected ten features that developers most frequently use in their day-to-day programming jobs.
- Java Panama Polyglot (Python/Tensorflow) Part 3 – In the third episode of the series, Carl Dea shows how to indirectly access native third-party Python packages (add-ons).
- Chopping the Monolith – Nicolas Frankel argues the case against ‘microservicing all the things’.
- 8 Tips and Experiences on Neo4j With Java – In this tutorial, Sebastian Daschner shares what he has learned over the years while using Neo4j OGM with Java in real-world projects.
Languages, Frameworks, Libraries, and Technologies
- IntelliJ IDEA 2022.1 Is Out – The first major release of the year offers multiple enhancements and lots of new features to improve your experience with the IDE. Maria Kosukhina describes all of the new features.
- The Package Checker plugin for IntelliJ IDEA – Developers are now provided with security information about OSS packages included in their code, allowing them to address security concerns during development instead of in production. Zlata Kalyuzhnaya describes how this works.
- InjectIntoKeyValue in Eclipse Collections – Notes from the 11.1.0 release, by Emilie Robichaud.
- Azure Toolkit for IntelliJ documentation – This plugin provides templates and functionality to easily create, develop, test, and deploy Azure applications using IntelliJ IDEA. You can find the plugin in JetBrains Marketplace.
- Kotlin 1.6.20 Released – In this blog post, Andrey Polyakov gives an overview of the improvements in v1.6.20, along with a complete list of the other evolutionary changes.
- Keep Rules in the Age of Kotlin – James Hamilton extends his thoughts and theses that he presented at Droidcon London 2021.
- Context Receivers Are Coming to Kotlin! – Sebastian Aigner prepared a great overview of context receivers, a new experimental language feature in Kotlin.
- An opinionated guide on how to make your Kotlin code fun to read and a joy to work with – Gabor Varadi provides some insight into what you might want to improve while writing Kotlin code.
- Structured concurrency explained: Exceptions and Cancellations – In this post, Walid Lezzar dives deep into this and uncovers some of the most surprising and misleading parts of Kotlin coroutines.
- Resilient use cases with kotlin.Result, coroutines, and annotations – Jacob Ras recommends how to write Kotlin code in a resilient way.
- Deep Dive into Dispatchers for Kotlin Coroutines – Bhavana Thacker shows what dispatchers are, and explains the main difference between IO and default dispatchers.
- 70 Billion Events per Day: Talking Kotlin episode with Adobe engineers – Rares Vlasceanu and Catalin Costache reveal the secret of handling 70,000,000,000 events per day with the help of Kotlin and Ktor.
- Kotlin Coroutines – The book by Marcin Moskala is now available on LeanPub.
Conferences and Events
- [devnexus 2022] – Jeanne Boyarsky wrote three blog posts about this year’s edition of the conference. If you weren’t able to attend the event in April, you should definitely take a look!
- JFocus, Stockholm, Sweden, May 2–4, 2022.
- Jax Hybrid, Mainz, Germany, and online, May 2–6, 2022.
- Microsoft JDConf, online, May 4–5, 2022.
- QCon Plus, online, May 10–18, 2022.
- GeeCON, Krakow, Poland, May 11–13, 2022.
- Devoxx UK, London, UK, May 11–13, 2022.
- Voxxed Days Zurich, Zurich, Switzerland, May 17, 2022.
- Kotlin Dev Day, Amsterdam, Netherlands, May 19, 2022.
- JPrime, Sofia, Bulgaria, May 25–26, 2022.
- Spring I/O, Barcelona, Spain, May 26–27, 2022.
- Java Day Istanbul, Istanbul, Turkey, and online, May 27–28, 2022.
That’s all! Thanks for reading, and I hope you enjoyed this month’s issue. Please remember that contributions are always welcome. If you’d like to add something to the next Java Annotated Monthly, please email us at (JAM<at>jetbrains.com) or get in touch on Twitter. Until next month, dear readers!