Presentation: Java 11 - Keeping the Java Release Train on the Right Track

Track: Modern Java Reloaded

Location: Majestic Complex, 6th fl.

Duration: 4:10pm - 5:00pm

Day of week:

Slides: Download Slides

Level: Intermediate

Persona: Developer, JVM

This presentation is now available to view on InfoQ.com

Watch video

What You’ll Learn

  1. Learn about some of the new features coming in Java 11.
  2. Find out why it is worth being excited about Java 11, enough to upgrade to it.
  3. Hear about some of the interesting features existing in Java 10.

Abstract

Java is now on a fast six-month release cycle. Many enterprises had just finished moving to Java 8 with its new features when Java 9 came out last September 2017. And as of today, the current release of the JDK is 10. These releases will provide enhancements to the JVM and the Java language and offer opportunities for rapid innovation for all Java developers. Every three years, there is a long-term support (LTS) release.

But many major enterprises with LTS are waiting for Java 11 which is the next long term support release before migrating their apps. Some enterprises are moving from Java 8 directly to Java 11.

There are significant new and useful features in the Java 11 releases such as a new local variable syntax for lambda parameters, the HTTP Client standard and a brand-new, low-latency garbage collector (Epsilon - JEP 318).  This session will review code examples of these new features in Java 11, and also features of Java 10. We will also discuss the impact of the new Java release train on production code.

Question: 

Tell us a bit about the work that you are doing today.

Answer: 

I work for a large bank in New York City on the DevOps team, and we're automating the pipeline to enable continuous deployments to production. We've been doing automation for a lot of years. My team does a lot of coding and mentoring of others. It's amazing how much automation there is in order to get something to work for a lot of teams including reporting, security and load testing. We do a lot of Selenium. It's fun to write the code because it's not just another webapp screen, it's something that's unique and different most of the time. There are opportunities to play with things that are new and code. There are a lot of heavy threads and a lot of heavy connectivity testing, which is a lot of fun. Also, the automation programming is nice because each piece is fairly small, something to get out of the door really quickly and see it in production right away.

Question: 

You're talking about Java 11. What made you decide to pick Java 11?

Answer: 

Java 11 is new, very new, I was looking for something that people need to have an awareness of, and Java 11 is a sweet spot for that because in New York City a lot of big companies, such as financial institutions, have been holding back on using Java 11 because Java 9 and 10 don't have long term support. Which means that Java 11 is the next one that a lot of people are going to upgrade. Java 9 got a lot of exposure, everyone knows what Jigsaw is, but Java 10 got almost no exposure in New York. I suspect Java 11 is going to have a similar problem. This is a way of letting people know what's this about, catching them up with Java 10, getting them ready for Java 11, and be ready and excited for it in late September when it actually comes out.

Question: 

What's coming up with 11?

Answer: 

Java 11 has a number of new features. Some of them are of the cool variety, you can use Unicode to draw a pretzel, which has limited applications. There are other things like the garbage collector and the HTTP client interface becoming standardized. There are also other features in Java 10 that are pretty neat, and I want to make sure everyone knows about those and expose them to it more as well.

Question: 

What features in 10 you want to talk about?

Answer: 

Some really cool things in Java 10 are the new garbage collector, the fact that we have var, it saves a lot of typing and surprisingly makes code easier to read, and in Java 11 it will have an impact on lambdas as well. I think versioning is one of the coolest parts.

Question: 

What do you want someone who comes to your talk to leave with?

Answer: 

The most important thing I want them to leave with is knowing that Java 11 is different than just another Java upgrade. Why that is, how to explain it to their manager, and be excited about the coding changes.

Speaker: Jeanne Boyarsky

Java developer and ScrumMaster

Jeanne Boyarsky is a Java developer and part time ScrumMaster. She co-authored Wiley’s OCA/OCP 8 certification books and is updating them for the Java 11. In addition to volunteering at CodeRanch, she mentors the programmers on a high school robotics team and won a mentorship award. In the last year, Jeanne has spoken at conferences including Oracle Code One, DevNexus and QCon.

Find Jeanne Boyarsky at

Similar Talks

Java Futures, 2019 Edition

Qcon

Java Language Architect @Oracle

Brian Goetz

Are We Really Cloud-Native?

Qcon

Director of Technology @Luminis_eu

Bert Ertman

The Trouble With Learning in Complex Systems

Qcon

Senior Cloud Advocate @Microsoft

Jason Hand

What Breaks Our Systems: A Taxonomy of Black Swans

Qcon

Site Reliability Engineer @Slack, Contributor to Seeking SRE, & SRECon Steering Committee

Laura Nolan