Foreword
A lot can happen in four years.
This is as true of programming languages as it is of anything else.
Java 11, the first post-8 Java release with long-term support, arrived in September 2018 and the seventh edition of Java in a Nutshell came out a few months later.
Since then, both the wider world and the Java ecosystem have seen major upheavals that were largely unpredictable at that time.
The new release cadence, of a LTS release every three years (now changed to every two years), has found favor with the Java ecosystem—very few companies have chosen to adopt the interim, feature releases, and instead everyone prefers to stay on an upgrade path where only the LTS releases are productionized.
Java 11 has proved to be an excellent release and a worthy successor to the now-legacy Java 8.
With the release of Java 17, the language has moved forward yet again, with new features such as switch expressions and the introduction of Java’s version of algebraic data types, in the form of records and sealed types.
Java performance continues to improve, and Java 17 is the fastest release yet.
In all, this is a great time to be joining (or returning to) application development in Java. Looking forward, the future holds some major changes that will alter the character of Java development in fundamental ways.
The next year or two will start to see these changes arrive and become part of the Java developer’s everyday experience.
Once again, in working on this new edition of a classic text, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access