What are java 1.8 new features .







 Java 1.8 Updates 


Collections

Lambda Expressions, a new language feature, has been introduced in this release. They enable you to treat functionality as a method argument, or code as data. Lambda expressions let you express instances of single-method interfaces (referred to as functional interfaces) more compactly.


Performance Improvement for HashMaps with Key Collisions


The Stream API is integrated into the Collections API, which enables bulk operations on collections, such as sequential or parallel map-reduce transformations.

Interface

 Functional  interface  introduced in java 8 .
 functional default  method  can be defined .
 static  method  can be define.




Security

Stronger algorithms for password-based encryption
SL/TLS Server Name Indication (SNI) Extension support in JSSE Server

JavaFx

The new Modena theme has been implemented in this release. For more information, see the blog at fxexperience.com.

The new SwingNode class enables developers to embed Swing content into JavaFX applications. See the SwingNode javadoc and Embedding Swing Content in JavaFX Applications.

The new UI Controls include the DatePicker and the TreeTableView controls.

The javafx.print package provides the public classes for the JavaFX Printing API. See the javadoc for more information.

Internationalisation

Unicode Enhancements, including support for Unicode 6.2.0

Adoption of Unicode CLDR Data and the java.locale.providers System Property

New Calendar and Locale APIs

Ability to Install a Custom Resource Bundle as an Extension 


Concurrency


Classes and interfaces have been added to the java.util.concurrent package.

Methods have been added to the java.util.concurrent.ConcurrentHashMap class to support aggregate operations based on the newly added streams facility and lambda expressions.

Classes have been added to the java.util.concurrent.atomic package to support scalable updatable variables.

Methods have been added to the java.util.concurrent.ForkJoinPool class to support a common pool.

The java.util.concurrent.locks.StampedLock class has been added to provide a capability-based lock with three modes for controlling read/write access.


JDBC 
The JDBC-ODBC Bridge has been removed.

JDBC 4.2 introduces new features.
Java DB
JDK 8 includes Java DB 10.10.

What are java 1.8 new features . What are  java 1.8 new features . Reviewed by Mukesh Jha on 3:26 AM Rating: 5

No comments:

Add your comment

All Right Reserved To Mukesh Jha.. Theme images by Jason Morrow. Powered by Blogger.