The Java platform is evolving in exciting ways. Here’s an update on the big initiatives. |
|
Week of September 27, 2021 |
|
|
|
|
JEPs are frequently adopted as groups of named enhancements, such as Project Loom, which focuses on lightweight threading, or Project Valhalla, which improves the efficiency for accessing internal data types, or Project Panama, which simplifies connection to external components such as C libraries. These named projects are exciting because they represent the long-term evolution of both the Java language and the Java runtime.
Longtime contributor (and former Java Magazine editor) Andrew Binstock explores the status of the five most important named enhancements and touches briefly on some of the others. Other new articles discuss the Java ecosystem, pattern matching for switch, and the Contexts and Dependency Injection specification for enterprise Java.
Take care, Alan Zeichick Editor in Chief, Java Magazine @zeichick
P.S. Give your Java applications superpowers with Kubernetes. How? In a 13-minute video, my colleagues Alexa Weber Morales and Dave Cabelus show how Oracle Verrazzano Enterprise Container Platform lets you deploy, secure, and manage container workloads. Verrazzano is built from open source components and supports Kubernetes clusters running on-premises or in the cloud. |
|
The newest articles |
Amber, Lambda, Loom, Panama, Valhalla: Tracking the major named Java projects While JEPs represent individual proposals, they are frequently adopted as groups of related enhancements that form what the Java team refers to as projects. Andrew Binstock discusses the most important active projects and touches briefly on some older projects whose nicknames are still mentioned in talks and articles.
From education to JUGs to hack days, how to navigate the evolving Java community ecosystem A huge part of Java’s success can be attributed to how the language and runtime have evolved—and how the developer community is collaboratively involved in the evolution. Heather VanCura, chair of the Java Community Process, shows you how to engage—and how to make a difference.
Gavin Bierman explains pattern matching for switch, a Java 17 preview Java 17’s pattern matching for switch preview (JEP 406) follows logically from pattern matching for instanceof, which was delivered as part of JDK 16. In this story by Justine Kavanaugh-Brown, Gavin Bierman, a consulting member of the Oracle technical staff, explains how it all works.
CDI Part 1: Contexts and Dependency Injection for enterprise Java When it comes to enterprise Java technology that is used everywhere, the Contexts and Dependency Injection specification is foremost on the list. As Josh Juneau explains, CDI is one of the foundational specifications of the Jakarta EE platform—and it can enhance Java SE as well. |
|
Other recent articles |
Java 17 is here: 14 JEPs with exciting new language and JVM features Every six months, Oracle announces the availability of a new JDK. The 14 JEPs delivered in Java 17 fall into seven categories, ranging from new language features to improvements on core libraries to previews and incubators. Oh, yes: There are deprecations and removals too.
The art of long-term support and what LTS means for the Java ecosystem Only you can decide if it makes sense to keep up with Java six-month releases and digest new features on a regular basis—or deploy to a specific LTS version for a longer haul, says Donald Smith. Oracle wants developers and organizations to have the best of both worlds.
Modern file input/output with Java Path API and Files helper methods Java internals expert Ben Evans navigates the confusing waters of Java’s file I/O facilities and shows you when to use the Path API (also known as NIO.2), the older—but still important—Readers and Writers API, and the even-older File, InputStream, and OutputStream APIs.
Java is criminally underhyped Recent computer science graduate Jackson Roberts never took a single class in Java. He strongly believes Java doesn’t get enough attention in education—and among startups and the newbie programming community.
The best HotSpot JVM options and switches for Java 11 through Java 17 The OpenJDK HotSpot Java Virtual Machine is an amazing and flexible piece of technology, available as a binary release for every major operating system and CPU architecture from the tiny Raspberry Pi all the way up to “big iron” servers containing hundreds of CPU cores and terabytes of RAM. What’s more, as Chris Newland writes, it can be fine-tuned using options and switches to do exactly what you want.
Add behavior-driven development to your Java Agile development toolbox The Agile methodology is often considered to be the holy grail of product development methodology for a market-driven product because it provides greater flexibility for adapting to changing business scenarios and requirements. In this article, Sashank Chithajallu discusses behavior-driven development (BDD) as the next step beyond the popular test-driven development (TDD) Agile methodology.
What are they building—and why? 6 questions for the top Java architects Four top Java architects—Mark Reinhold, chief architect of the Java Platform Group; Brian Goetz, chief language architect for Java; Mikael Vidstedt, director of software engineering for the Java Virtual Machine; and Ron Pressler, consulting member of the Java technical staff—answer six questions about Java’s vibrancy, the group’s priorities, and the future of the platform. |
|
|
Complimentary subscription to Java Magazine |
Java Magazine is a deep dive into Java and the JVM. Find detailed explanations about the language and the platform written by experts and members of the Java development team.
Join a quarter of a million subscribers in getting useful, authoritative programming information delivered directly to your inbox. |
|
|
|
|