Java Magazine, July/August 2017
ORACLE COM JAVAMAGAZINE JULY AUGUST 2017 10 ART BY I HUA CHEN T his single topic issue of Java Magazine focuses on the benefits of the new JDK 9 release other than the Java Platform Module System JPMS The modularity feature often touted as the central part of this release was not yet in final approved form when we went to press So rather than provide early information that might be wrong later weve chosen to focus on the other parts of JDK 9 which have been formalized and finished and will ship whenever modules are officially approved At present that shipping date is expected to be in late September The reasons for this delay are discussed in the editorial page 3 Shortly after that date Java Magazine will dedicate a second issue to Java 9 with a deep focus on the new modular architecture and how best to use it As the articles in this issue demonstrate there is a lot of goodness in Java 9 outside of modules The language and platform teams have created dozens of convenient new features that make Java programming more succinct and enjoyable Simon Ritters article page 11 provides an overview of many of these useful additions His work is complemented by an in depth examination page 21 of the new features in Collections Streams and iterators Also Trisha Gee explains page 17 how to compile and run Java 8 code on Java 9 even if youre not using modules An alternative way to run Java 9 code is with JShell which is a new read evaluate print loop REPL bundled with this release Our introduction to JShell page 28 shows the basics while our article on HTTP 2 page 39 provides additional examples of JShell usage The HTTP 2 technology which facilitates network programming is part of a new incubator system introduced in Java 9 that presents developers with technologies that are likely to be bundled in future releases If you regularly use HTTP take a long look at this article In addition to these articles we also have our usual language quiz events calendar and letters to the editor Enjoy and let us know if there are other Java 9 topics youd like us to cover in the future Inside JDK 9 JAVA 9 JAVA 9 FEATURES 11 FROM JAVA 8 TO JAVA 9 17 COLLECTIONS AND STREAMS 21 JSHELL 28 HTTP 2 39
You must have JavaScript enabled to view digital editions.