Skip to content

Carl Dea: Say 'No' to JNI

Photo of Brant Boehmann
Hosted By
Brant B. and Wade C.
Carl Dea: Say 'No' to JNI

Details

OpenJDK 17 is here, with a range of new features and enhancements. Join in with the friends of OpenJDK, who provide a free central resource for all things Java at Foojay.io, in celebrating the OpenJDK on the Foojay Virtual OpenJDK 17+ JUG Tour, including at KnoxJava with Carl Dea!”

Abstract:
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.

Bio:
Carl P. Dea is a Developer Advocate for Azul.com. He has co-authored books: JavaFX 9, 8, 2.0 Introduction by Example and Java 7 Recipes (Apress publishing). Carl has also tech reviewed Java books such as: JavaFX in Action, Pro JavaFX 2, and The Definitive Guide to Modern Java Clients with JavaFX. He has been developing software for 20+ years with many clients, from Fortune 500 companies to nonprofit organizations. He has written software ranging from mission-critical applications to e-commerce applications. Carl has been using Java since the very beginning (when Applets/Swing Apps were cool) and is a JavaFX enthusiast (fanboy) dating back to when it used to be called F3 (JavaFX script). He contributed to open source projects such as JFXtras.org, LitFX, GluonMobile Samples and eWidgetFX. Prior to working for Azul he has been a software engineer as a defense contractor (14 yrs) in many diverse environments mainly working in the government & military sectors. His desire is to really to get back to his roots which is working with and advocating Java based technologies.

His current software development interests are: graphics, UI, game programming, GEO spatial data & map visualizations, custom UI controls, IoT, smart phones, AI, SDRs and robotics. Other (non-coding) hobbies include: Boating to explore the Chesapeake Bay. Carl and his wife are proud parents of two grown daughters. Carl lives in the USA on the East Coast in Pasadena (aka "The Dena"), Maryland. He tweets @carldea, blogs at foojay.io & carlfx.com , socially codes at https://github.com/carldea

Be sure to see Carl’s recent and excellent articles on Project Panama here;

https://foojay.io/today/project-panama-for-newbies-part-1/

https://foojay.io/today/project-panama-for-newbies-part-2/

Photo of KnoxJava group
KnoxJava
See more events
Online event
This event has passed