Oracle
Oracle
Email Icon   Forward to a friend
Oracle Logo
Java Magazine
Java Magazine
Plus: Two previews of Java 21 and a deep dive into virtual threads

September 2023

Visit Java Magazine
OK, this is cool: The Oracle for Research team published a blog post in early August, “University of Düsseldorf develops network agnostic ultra-fast communication solution for Java.” As a networking geek as well as a developer, this story pushed all my buttons.

You should read the post for all the background, but here is where I perked up.

Java networking is built on TCP/UDP sockets which can transparently use InfiniBand through IP over InfiniBand (IPoIB). Unfortunately, this transparency comes with some non-negligible overhead which has been successfully addressed by numerous libraries (e.g. JSOR, jVerbs), providing direct InfiniBand access for Java applications. These libraries require the user to modify existing applications and are based on the Java Native Interface (JNI) in order to directly access low-level InfiniBand functions written in C.

Project Hermes will provide a network agnostic ultra-fast communication solution for Java based on OpenJDKs JEP 424: Foreign Function & Memory API and Unified Communication X (UCX). JEP 424 is available as a Preview Feature in OpenJDK 19 and is a new API for interconnecting Java with foreign code and data. It will replace JNI which is cumbersome and prone to errors. Project Hermes is providing two levels of abstraction with two open-source libraries: Infinileap and hadroNIO.

It’s wonderful to see how Java, more than 25 years old, manages to stay current with the very latest advances in computer engineering.

Take care,
Alan Zeichick
Editor in Chief, Java Magazine
@zeichick

P.S. This newsletter has two Java 21 preview updates, one from Nicolai Parlog and the other from Mohamed Taman. What we’d like to know is, what are you most excited about in Java 21? Write to us at javamag_us@oracle.com.
The newest Java Magazine articles
Going inside Java 21’s rich, upcoming goodness
Are you ready for all the new technology in Java 21? Nicolai Parlog will take you on a tour of many of the changes, small and large, covering final JEPs, a progressing preview, and something entirely new for the platform. What’s more, for many of the innovations, he offers lots of links to in-depth videos from Oracle’s Java Platform Group.

Java 21 sneak peek
The 15 JEPs in Java 21 cover a range of functionality, including string templates and structured concurrency previews, virtual threads, and a key encapsulation mechanism API. Working JEP by JEP, Mohamed Taman offers his traditional detailed preview of the newest Java release.

Exploring the design of Java’s new virtual threads
Virtual threads, as implemented in JEP 444, are arguably the most anticipated feature of Java 21. Ben Evans ties together the relationship and interaction between Java I/O, the operating system and the Java thread bottleneck, and virtual threads. This journey will explain not only how virtual threads work but also why they work.
Moving Java forward at Oracle CloudWorld 2023
Now is the time to register for Oracle CloudWorld 2023, coming to Las Vegas, Nevada, September 18 through September 21.

At the conference, you’ll find (at last count) 295 sessions specifically for developers, with 50+ focused on Java. They include

  • What’s New in Java 21, with Aurelio Garcia-Ribeyro
  • Java Virtual Threads, with Mikael Vidstedt
  • Securing Java Deployments at Scale with OCI Java Management Service, with Bernard Traversat
  • Generational Z Garbage Collector, with Mikael Vidstedt
  • Java Language Futures, with Chad Arimura
  • Java in the World of Cloud, with Bernard Traversat
  • Modernize Your Java App for the Cloud, with Aurelio Garcia-Ribeyro
We hope to see you there!
More recent Java Magazine articles
Inside the JVM: Arrays and how they differ from other objects

Curly Braces #11: Writing SOLID Java code

Javadoc documents are great—and better than ever with @snippets

Method handles: A better way to do Java reflection

Handling time zones in distributed systems, Part 1

Handling time zones in distributed systems, Part 2

All about Java’s instance initializer blocks

Pseudorandom numbers in Java, Part 1: The background

Pseudorandom numbers in Java, Part 2: Randomness with Java 17
Visit Java Magazine
Complimentary subscription to Java Magazine
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.

Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox.
Subscribe
Stay connected
#oraclejavamag | dev.java
Facebook Twitter RSSfeed
Terms of Use and Privacy | Unsubscribe | Contact Us | 
This email was sent to you because you subscribed to this newsletter.

Copyright © 2023, Oracle and/or its affiliates. All rights reserved. Oracle Corporation - Worldwide Headquarters, 2300 Oracle Way, Austin, TX 78741, United States
Oracle