Java. Migrating to 11 in real app

By Piotr Przybył

Elevator Pitch

This is time for Java 11+, believe it or not. Why and how I managed to migrate real server Java apps to JVM11. What and how had to be done, what wasn’t necessary.

Description

It’s (post) Java 11 time now. (Just in case your boss didn’t notice 😉) In this talk, I’d like to tell you how I managed to migrate two real Java server apps to Java 11 and show some demos. Why was it done? How to convince the business? What and how was done? What wasn’t required? Does anyone read licenses, manuals, and talks’ descriptions? Where did I fail in the first approach? Was it worth it? Some hints for you.

Notes

Dear reviewers

I’m trying to inspire Java devs to try running their apps on JVM 11. Not just for the sake of being trendy, but for benefits, like free JFR, (almost) half-sized ASCII strings, AppCSD, just to name a few. I gave this talk a few times already, including Devoxx Poland, Devoxx Ukraine, Devoxx Belgium, CodeMotion Milan, JDD, 4 Developers, etc. Sample recording: https://youtu.be/hAbvZs6bJP8 This talk got some awards: 3rd best talk during Devoxx Ukraine 2019, one of TOP 10 talks during Devoxx Poland 2019, 2nd best Java talk during 4 Developers 2019. The slides are here: http://bit.ly/Devoxx-J11, sample code: http://bit.ly/trivJ11Mig. Also, I’m trying to actively get rid of “oh, but Java 11 is paid” (if you don’t mind the silly tinfoil hat).

This lecture is based on a training/workshop I made myself. I was really surprised, that the vast majority of attendees selects “yes” as the answer to the question “is Java 11 paid” in the entry poll. Also, I’m trying to tell them that despite the modules might be nice, the –module-path isn’t obligatory.