Virtual Foojay OpenJDK 17+ JUG Tour

To celebrate OpenJDK 17 and Foojay as a community platform for its users, we’re kicking off the Virtual Foojay OpenJDK 17+ JUG Tour, focused on OpenJDK 17, plus more!

Ari Waller, JFrog's Event Manager, well known to many JUGs, will continue to wear a second hat, as he did on the previous tour—that of Foojay Event Manager, together with Jadon Ortlepp from Payara, newly added to the Foojay Event Team!

During September and October, contributors to Foojay will be making a whistle stop tour through as many JUGs as possible, via their virtual meetups! (And if you're not holding virtual events or don't have the facilities for this, we can support by making these available as needed and some of the sessions can be done live in-person, depending on the context.)

At each stop of the tour, there'll be a brief introduction to Foojay.io followed by a session of 45 minutes on a topic connected to OpenJDK 17, and beyond, presented by a Foojay community member, as listed below.

The JUG can pick the topic of their choice and anyone reading this and wanting their JUG to be involved should contact Ari (ariw at jfrog dot com and/or hello at foojay dot io) and suggest dates, ideally during September and October, when they'd like to host the Foojay program!

Here's the (growing) roster of topics! Abstracts that have already been booked are marked as such below and, in some cases, an abstract may be available for more than one JUG, though ideally all abstracts would be assigned before assigning sessions more than once.

Java Core


OpenJDK 17: Get Ready for the Next LTS Java, Simon Ritter (Azul).

With the release of OpenJDK 17, all OpenJDK distributions will be providing long-term support (LTS) for this version of the Java platform. Many Java users currently running on OpenJDK 8 or OpenJDK 11 will want to migrate their production environments to OpenJDK 17. This will enable them to take advantage of the numerous new features and enhancements made possible by the six-month release cadence introduced in 2017.

This session will provide details of changes to the Java platform covering OpenJDK 12 to 17. Although many things have been added, some have also been removed. We'll highlight these things and explain how they may impact application migration. We’ll cover all aspects of the OpenJDK: the Java language, core APIs, the JVM and tooling and other JDK-specific features, including Switch expressions (OpenJDK 12), Text blocks (OpenJDK 13), Records (OpenJDK 14), Pattern matching, for instanceof (OpenJDK 14), Sealed classes (OpenJDK 15), and Pattern matching for switch (OpenJDK 17), as well as, on the API side, Foreign-Memory Access API (OpenJDK 14), Vector API (OpenJDK 16), and Foreign Linker API (OpenJDK 16).

By the end of this session, you’ll be all set to take advantage of all the modern Java features!


Pattern Matching & Sealed Classes: Best Features of OpenJDK 17? Deepu K Sasidharan (JHipster).

Let's have a quick rundown of the two most exciting features landing in OpenJDK 17!

Pattern matching in Java is almost complete now. OpenJDK 16 added support for pattern matching in the instanceof operator and now this can be used in switch cases to perform idiomatic pattern matching, as in many other modern languages.

Let's see all the possibilities with it first and then we will look at the new Sealed classes and interfaces that let you restrict inheritance and learn how they can be useful in pattern matching.

Status: Booked September 23, Silesia JUG (Poland)


Say ‘No’ to JNI, Carl Dea (Azul)

As a Java developer, you may have a need to access native libraries, such as Tensorflow, SqlLite, ffmpeg, OpenGL, but later find that JNI is your default choice. JNI (Java Native Interface) requires native code to be installed. You’ll quickly find that JNI wrapper code is difficult to maintain.

New to OpenJDK 17 is the Foreign Linker API (JEP 389) as a replacement for JNI to provide a pure-Java solution and perform comparable to, or better than, JNI.

The aim of this talk will be to provide a friendly introduction to OpenJDK 17’s Foreign Linker API.


Securing and Exploiting Java Applications, Erik Costlow (Contrast Security)

OpenJDK 17 makes the interesting decision that deprecating a security feature (the SecurityManager) can actually improve security of the platform and running applications, setting out a path to remove a feature that hasn’t been used and hasn’t blocked many exploits.

By understanding how modern Java applications are attacked, teams can better position the right defense in the right location. This talk will analyze exploits against several Java applications that were used in the wild and lay out the proper security defense that can defend applications from being breached, not only to mitigate these threats but also to address time spent on internal security audits.

We will lay out where different defense and monitoring capabilities have gone, including new features such as serialization filters and OpenJDK Flight Recorder.


Are All OpenJDK Builds Created Equal?, Simon Ritter (Azul).

Each release of Java Standard Edition (SE) has its own project under the OpenJDK. The source code is licensed under GPL v2 with the Classpath exception, meaning that anyone can download it, build it, and distribute the resulting binaries.

If everyone is using the same source, then all distributions will be the same, surely? Well, that’s not guaranteed: even something as simple as a change in the version of a compiler could significantly impact how the executable works.

Luckily, part of the Java SE specification, as provided through individual Java Specification Requests (JSRs), is a test suite, commonly referred to as the TCK (Technology Compatibility Kit). Depending on which version of Java is involved, there are up to a hundred and fifty thousand tests.

In this session, we’ll explore how the TCK can provide a very high level of assurance that your application will run in the same way on any TCK-tested build of the OpenJDK.

By the end, you’ll have a clear understanding of the benefits of OpenJDK certification.

Status: Booked September 28, Garden State JUG (USA)

Java Cloud


Leveraging OpenJDK 17 to Create End-to-End JavaFX-to-Cloud applications, Johan Vos (Gluon).

Real world applications don't live in silos. Cloud services process data coming from client systems. Client applications generate tons of data that need to processed by enterprise applications. The Java platform works on both enterprise and cloud systems, as well as on client systems. A client application with a modern user interface created with JavaFX can leverage modern OpenJDK 17 APIs, so that they can integrate with Java Cloud applications and share some code.

In this session, we'll show real-time data synchronization between clients and between clients and a Cloud service; remote function invocation, where a client invokes a serverless function in a serverless container; data processing on a backend system, real-time connected with a user interface on a client.


Cloud-Native Java in Times of OpenJDK 17, Clement Escoffier (Red Hat) and Georgios Andrianakis (Red Hat).

OpenJDK 17 introduces plenty of features that significantly ease writing modern Java applications. This talk explores how Quarkus applications can adopt OpenJDK 17 features.

Come see how records, pattern matching, and sealed classes help build Cloud Native Java applications and how to package and run these applications in containers.


Leveraging OpenJDK 17 features with Jakarta EE, Ivar Grimstad (Eclipse Foundation).

Jakarta EE 9 lowered the barriers of entry and established a foundation for future innovation paving the way for Jakarta EE 10. You have probably heard that the minimum runtime supported by Jakarta EE 10 will be Java SE 11. That means that the APIs will be able to use OpenJDK 11 language features, and will be compiled to OpenJDK 11. This also applies to the TCK. However, in Jakarta EE 9.1, the signature tests were updated to be able to test across multiple Java levels. This means that compatible implementations of Jakarta EE 10 may certify using OpenJDK 17.

In this session, I will show how easy it is to get started using OpenJDK 17 features in a Jakarta EE application.


Jakarta EE: Present and Future, Reza Rahman (Microsoft).

Let's explore the current state and future of Jakarta EE, the technology platform formerly known as Java EE. We will include a high level feature tour of the current version, Jakarta EE 9. We will also discuss how the community can contribute to Jakarta EE. The technical content of Jakarta EE 8 is mostly the same as Java EE 8, with Jakarta EE 9 further bringing the platform into the open by decoupling from the javax namespace to the jakarta namespace. Jakarta EE 10 opens possibilities for many long pending innovations in key technologies like Jakarta Security, Concurrency, Messaging, REST, Persistence, Batch, NoSQL, MVC and Configuration.

You should come to this session with your thinking caps on and your sleeves rolled up. There is much to help move forward together that really matters.

Status: Booked October 14, St. Louis JUG (USA)

JavaFX


One Codebase, Six Platforms: JavaFX 17 on Every Client, Johan Vos (Gluon).

JavaFX follows the release cadence defined by the JDK project. Every 6 months, a new major version of JavaFX is released.

In this session, we talk about the new features and fixes that are introduced in JavaFX 17. The JavaFX 17 release contains a record number of fixes and features. The primary focus of the OpenJFX project, which serves as the codebase for JavaFX, is to provide a stable, mature and relevant set of API's. A number of long standing bugs has been fixed, and JavaFX can be used on modern versions of Operating Systems and architectures (including Apple Silicon systems).

You will learn how the latest version of JavaFX can be used in conjunction with the latest Java release and how to create modern user interfaces that are cross-platform and that can be deployed on desktop, mobile, and embedded devices.


FXGL 17: Roadmap for the Future of JavaFX Game Development, Almas Baimagambetov (University of Brighton).

FXGL 11 has been a success among JavaFX developers, leveraging high-performance cross-platform support. FXGL seamlessly extends JavaFX to bring support for real-world game development concepts and techniques, which can be used in both Java and Kotlin.

In this session, we will cover the latest features the current version offers and outline key milestones for FXGL 17.

Raspberry Pi


Current state of Java, JavaFX, and Pi4J on the Raspberry Pi, Frank Delporte (Toadi).

Raspberry Pi OS comes with Java 11 pre-installed, making it the ideal inexpensive computer to run Java programs.

But did you know that the Raspberry Pi is also a perfect match for running the latest JavaFX user interface applications or FXGL games? Combined with the Pi4J library, you can even do things which aren’t possible with your expensive developer computer: blink a LED, read sensor values, and control all types of electronic components.

In this session, you will be introduced to all of these topics with references and examples to get you started and learn more.


100% Pure Java on the Raspberry Pi, Dieter Holz (FHNW University of Applied Sciences).

Nowadays, most programming on the Raspberry Pi is done in other programming languages than Java, mostly "It, That Cannot Be Named". What are the forces of evil that brainwashed the cool kids in schools and universities to think that Java is for baby boomers only?

From an educational point of view, it's important to use a single programming language in the first year of education. With the Raspberry Pi, we have a great platform to let our students experiment with many different areas of programming. They gain experience in Object-Oriented Programming, GUI development, game development, accessing hardware components, such as physical buttons, joysticks, sensors, and even cameras. All this in a single programming language, in 100% pure Java.

And you just need the JDK and four libraries: JavaFX, FXGL, Pi4J, and JavaCV. Period. That's all. Right? No! Having these few technology gems is not sufficient to have real fun with programming. The initial hurdles faced by students before starting to write their first FXGL-based game and to deploy it on a Picade Console or a Game HAT need to be as low as possible. After the first steps, a smooth development experience is a must. Programmers want to focus on programming. Nothing else.

In this talk, you will see all the things that are needed besides the available libraries—ready made Linux images, Maven based, well documented template projects that enable development on laptops, and remote starting and debugging of apps on the Raspberry Pi, while you will also be shown the best practices of how to combine, for example, a GUI with a PUI (Physical User Interface). The fun is back. And the fun is 100% pure Java.

Miscellaneous


From Java Records to Quantum Computing, Johan Vos (Gluon).

Quantum Computing is getting more and more attention. While the commercial availability of real, general-purpose hardware is still limited, the potential is huge, in many areas including encryption, optimisation, chemistry, and physics. Quantum Computers need to be programmed, similar to how classical computers are programmed.

In this session, we explain the major differences between classical computing and quantum computing. We discuss how Java can be used to create quantum applications, and we talk about potential improvements in Java bytecode that could leverage quantum concepts. Most quantum computing software research currently uses quantum simulators, where a real quantum computer is simulated using a classical computer. This creates major challenges related to memory and computing resources. We will discuss how improvements in project Panama, or using Records can improve the performance of Java for quantum computing simulators.

Topics:

Don’t Forget to Share This Post!

Comments (0)

Your email address will not be published. Required fields are marked *

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Related Articles

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard