Thursday 20 September 2012

Difference between Java SE 5 vs Java SE 6

In Collections, Addition of new Classes like Deque, Navigable Set and updation of previous like Collection and Array:

  • Deque Interface (Insert and Remove element from both ends)
  • ArrayDeque - Implementation of Deque Interface
  • NavigableSet and Navigable Map Interface - Accessed and Traverse in Ascending and Decending order
  • ConcurrentSkipListSet and ConcurrentSkipListMap - Implementation of Navigable Set Interface
  • Array class get methods CopyOf
  • Methods added to Collection Utility Class

In IO Package,
* Addition of Console Class
* File class updated with few methods like getTotalSpace(), getFreeSpace() etc.
* IO Exception class have parameterized constructors

> In RMI, there are Bug fixes and enhancements and changes in previous releases

> Regarding JVM, Synchronization and compiler performance optimizations, new algorithms and upgrades to existing garbage collection algorithms, and application start-up performance

> In Util package, in concurrent class lock is added.

> In Jar and Zip, two new compressed streams are added in java.util.zip, called DeflaterInputStream and inflaterOutputStream where one is to read compressed data and other writes data which get decompressed.

> JMX API is much upgraded

> Many Security changings in SSL, XML Digital Signature API, etc

> In Network(Java.NET), NetworkInterface enhancement is done with new methods.moreover New classes are added for cookies like CookueManager, CookuePolicy, HTTp Cookie.


No comments:

Post a Comment