Release date and new feature of java 9

Now java is going to release with new feature,including modularisation and memory saving improvement.Now java 9 have released after chief architect at the java platform.

This news have relieved many programmers after an array of irritating setbacks. mainly due to issues with its modularisation effort left out of Java 8, which was released three years ago, making modular Java a feature in Java 9 instead. Oracle did offer early availability for those wanting to download and test the new platform, but now a final version has been made available.

New features of Java 9  are as follows:

  • Modularity
  • Developers convenience
  • Strings
  • Diagnostics
  • JVM options
  • logging
  • Javadoc
  • Javascript/http
  • Native platform
  • JavaFX
  • Images
  • Unicode

1.Modularity

Modularity is general concept in software,it applies to writing and implementing a program or computing system as a number of unique modules,rather than a single,monolithic design. Modularity enables programmers to do functionality testing in isolation and engage in parallel development efforts during a given sprint or project.

Image result for Modularity in java

2.Developers convenience

This section describes several mini-implementations that can be more convenient and more efficient than general-purpose implementations when you don’t need their full power. All the implementations in this section are made available via static factory methods rather than public classes.

Related image

3.Strings

There are two type of strings .They are compact strings and indify string. the compact strings optimization for OpenJDK 9 will improve the footprint of Java String and related classes while preserving full compatibility for all related Java and native interfaces. Indify String Concatenation will enable invokedynamic to concatenate strings, to free runtime implementors for optimizing string concatenation without pushing users to recompile their programs.

Image result for Strings in java

4.Diagnostics

nterface for diagnostics from tools. A diagnostic usually reports a problem at a specific position in a source file. However, not all diagnostics are associated with a position or a file.

A position is a zero-based character offset from the beginning of a file. Negative values (except NOPOS) are not valid positions.

Image result for Diagnostics in java

5.JVM option

Java Platform, Standard Edition 9 is a major feature release. The following summarizes features and enhancements in Java SE 9 and in JDK 9, Oracle’s implementation of Java SE 9.

Image result for JVM option in java

6.Logging

Logging is a powerful aid for understanding and debugging program’s run-time behavior. Logs capture and persist the important data and make it available for analysis at any point in time.

This article discusses the most popular java logging frameworks, Log4j 2 and Logback, along with their predecessor Log4j, and briefly touches upon SLF4J, a logging facade that provides a common interface for different logging frameworks.

Image result for Logging in java

7.Javadoc

This module provides the equivalent of command-line access to javadoc via the ToolProvider and Tool service provider interfaces (SPIs), and more flexible access via the DocumentationTool SPI.Instances of the tools can be obtained by calling ToolProvider.findFirst or the service loader with the name “javadoc”.

Image result for Javadoc in java

8.Javascript/http

Despite all of the hype Java 9 will not just be about modularity; it is targeting a large number of additional pieces of functionality that are being delivered as Java Enhancement Proposals (JEPs) implemented in OpenJDK (the reference implementation for Java SE).

Related image

9.Native platform

Implement the Java Platform Module System, as specified by JSR ….. The new JMOD format goes beyond JAR files to include native code …. by default, as permitted by the Java SE 9 Platform Specification.

Image result for Native platform in java

10.JavaFX

JavaFX is a set of Java graphics libraries for creating Java GUI applications, just like Java AWT and Swing.

JavaFX was originally targeted for Rich Interface Application (RIA, introduced in 2002), i.e., GUI webapp delivered thru a browser’s plugin (competing with Adobe Flash, Microsoft Silverlight and Java Applets). However, the trend today is to use HTML5/JavaScript-based, instead of plug-in-based framework. Moreover, browsers (such as Firefox) has stopped supporting plug-ins (such as Java Plug-in for Applets).

Image result for JavaFX in java

11.Images

A JDK image includes a copy of the JRE in its jre subdirectory and contains additional subdirectories.

Related image

12.Unicode

Unicode is a universal international standard character encoding that is capable of representing most of the world’s written languages.Image result for Unicode in java

The biggest improvement done in java is modularity ,which made the platform more scalable while improving its deployments on smaller devices.

Java 9 developers will also find the old HttpURLConnection is finally being replaced with a new HTTP client, which should provide greater improvements and support both HTTP/2 protocol and WebSocket handshake.

Java 9 will introduce ‘jShell’, a tool that will provide read-eval-print loop functionality, allowing developers to evaluate statements and expressions along with an API, meaning other applications can use these capabilities also.

In terms of security, Java 9 will see a new version string scheme, which should make distinguishing between security updates and other major or minor updates a lot easier.

Post Author: techred

Leave a Reply

Your email address will not be published. Required fields are marked *