1 / 6

Exciting New Features In Java 9

In September, Oracle released Java SE 9 with over 150 new features. The latest version of the widely used programming language comes with several new features and APIs to accelerate development of applications for both large and small devices. At the same time, the features provided by Java 9 help programmers to improve application's performance, security, and maintainability. Hence, it becomes essential for programmers to understand some of the key features provided by Java 9.

Download Presentation

Exciting New Features In Java 9

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Exc Excit iting ing New New Fea Features tures In J In Jav ava 9 a 9

  2.  In September, Oracle released Java SE 9 with over 150 new features.  The latest version of the widely used programming language comes with several new features and APIs to accelerate development of applications for both large and small devices.  At the same time, the features provided by Java 9 help programmers to improve application's performance, security, and maintainability. Hence, it becomes essential for programmers to understand some of the key features provided by Java 9.

  3. What Programmers Need to Know about Java 9? Module System The developers can now use Better Support for HTML5 and JavaScript to divide JDK into multiple modules. Each modular JAR file contains a module descriptor. The developers can define interdependency of various modules through requires statements. The modularity makes it easier for programmers to run JVM modules smoothly on small devices that lack additional memory. At the same time, they can also run only the APIs and JVM modules required by the application.

  4. Ahead-of-Time Compilation Java 9 improves code compilation process significantly through ahead-of-time (AOT) compilation. The programmers can leverage AOT compilation compile Java classes into native code even before the virtual machine launches them. AOT compilation improves the performance of both large and small applications by overcoming major shortcomings of just-in-time (JIT) compilation. Unlike JIT compilation, AOT compilation ensures that no Java method remains uncompiled.

  5. Real-Eval-Print-Loop Tool Java 9 comes with a new real-eval-print-loop (REPL) command line tool - Shell. Shell is designed with features to evaluate declarative statements and expressions interactively. A programmer can use Shell to assess the quality of Java code before compilation. He can simply enter a piece of code and collect feedback. Shell even has the capability to complete tabs and add required terminal semicolons automatically. The new REPL tool makes Java compete with widely used programming languages like Python and Scala.

  6. Content Designed By: Mindfire Solutions

More Related