Blog Java New Features in Java 7

New Features in Java 7

Java 7 also known as Dolphin is going to be available from 28 July 2011 .

The additional features for Java 7 are :

  • Support for dynamically typed languages – Extensions to the JVM, the Java language, and the Java SE API to support the implementation of dynamically-typed languages at performance levels near to that of the Java language itself.
  • Language changes
    • Strings in Switch statements
    • Try with resources statements
    • Improved type inference for generic instance creation – “Diamond”
    • Simplified varargs method invocation
    • Better integral literals
    • Improved exception handling (multi-catch)
  • Concurrency & Collection utilities – A lightweight fork/join framework, flexible and reusable synchronization barriers, transfer queues, concurrent linked double-ended queues, and thread-local pseudo-random number generators
  • New I/O APIs for the Java Platform – New file I/O library to enhance platform independence and add support for metadata and symbolic links. The new packages are java.nio.file and java.nio.file.attribute
  • Library-level support for Elliptic curve cryptography algorithms.
  • An XRender pipeline – A new Java2D graphics pipeline based upon the X11 XRender extension, which provides access to much of the functionality of modern GPUs
  • New platform APIs for the graphics features originally planned for release in Java version 6u10
  • Gervill sound synthesizer – To drop the old, proprietary, encumbered sound synthesizer in favor of Gervill, a synthesizer created as a proposal for the Audio Synthesis Engine Project.
  • Update the XML stack – Upgrade the components of the XML stack to the most recent stable versions: JAXP 1.4, JAXB 2.2a, and JAX-WS 2.2

Some features like Java and VM support for modular programming, Annotation on java types , language support for collections, Project Lambda, swing application framework, modularization has been deferred to JAVA 8.

About Amit Verma

Amit is an impassioned technology writer. He always inspires technologists with his innovative thinking and practical approach. A go-to personality for every Technical problem, no doubt, the chief problem-solver!
Spread the love