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:
- Developers convenience
- JVM options
- Native platform
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.
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.
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.
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.
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.
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.
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”.
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).
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.
JavaFX is a set of Java graphics libraries for creating Java GUI applications, just like Java AWT and Swing.
A JDK image includes a copy of the JRE in its jre subdirectory and contains additional subdirectories.
Unicode is a universal international standard character encoding that is capable of representing most of the world’s written languages.
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.