Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Java Jdk6 Java SE 6

Related Tutorials


 
 

Share on Google+Share on Google+

Java SE 6

Advertisement
The latest news for the java programmers that the Sun MicroSystems has released the Java SE 6 on Monday December 11.

Java SE 6

     

The latest news for the java programmers that the Sun MicroSystems has released the Java SE 6 on Monday December 11. So go and grab your copy.  It has been released with the promises to ease the complexities faced in the jdk 1.5. Here we at Roseindia.net is providing of each and every new features added in jdk 6 with running examples. 

These are the major new Features in JAVA SE 6

  1. New Features in JSE 6
    This section introduces you with the new exciting features of Java SE 6.
     
     

  2. Changes in I/O
    This is a new feature added in Java SE 6, which has the ability to read text from a terminal without having it echo on the screen through java.io.Console.   
      

  3. Java 6.0 New Features (Collection Framework)
    As the name indicates
    collections is a group of objects known as its elements. Basically it is a package of data structures that includes ArrayLists, LinkedLists, HashSets, etc. A collection is simply an object that groups multiple elements into a single unit. It is also called as a container sometimes. It is used to store, retrieve, manipulate, and communicate aggregate data. 

  1. Introduction to Collections API
    A collection is simply an object that groups multiple elements into a single unit. It is also called as a container sometimes. It is used to store, retrieve, manipulate, and communicate aggregate data.
      

  2. Introduction to Collections Framework
    In this section, you will know about the collection framework as well as its advantages and disadvantages. 
     

  3. Introduction to Collection Interfaces
    The Collections Framework is made up of different sets of interfaces for storing and manipulating groups of data into a single unit. It consists of several interfaces, and classes that implements those interfaces, within the java.util package.

  4. Java 6.0 Collection Framework
    Some of the new collections APIs have been introduced in Java 6.0.
      

  5. Collections Framework Enhancement
    In Collection framework, we are able to improve the performance hashing function that is used by java.util.HashMap. It provides some new Collection interfaces also.

Lets See How to Work With Collections Framework With the Help of Following Examples.

  1. Navigable Map Example
    In NavigableMap we use methods to return the key value pair like navMap.put(1, "January"); whereas in NavigableSet we use methods to return values.
      

  2. Navigable Set Example
    In the example below we have used NavigableSet method to sort the elements in ascending order, descending order, also to retrieve the element which is immediately greater than or equal to 35 etc. 
     

  3. HashSet Example
    In this section provides you an example to HashSet collection frame work.
    A HashSet is a set that doesn't allow duplicate elements and doesn't order or position its elements.
      

  4. Linked List Example
    This section discusses an example to demonstrate the various methods of List interface. We are using two classes ArrayList and LinkedList in the example code.

     

  5. Tree Map Example
    In the following example, we have used the TreeMap method, which stores its elements in a tree and orders its elements based on their values. Here in the example we have used the key of the element to show the values of the element.
     

  6. Tree Set Example
    In the following example, we have used the TreeSet collection, which is similar to TreeMap that stores its elements in a tree and maintain order of its elements based on their values.

  1. Changes in jar and zip
    Jar and zip support has been enhanced in JDK 6. In this, two new compressed streams have been added. These are java.util.zip.DeflaterInputStream and java.util.zip.InflaterOutputStream.
      

  2. Java Web Start enhancements in version 6
    The cache format of Java Web Start and Plug-In has been fully changed. All dialogs have been redesigned and consolidated between Java Web Start and Plug-In to be more user friendly.
      

  3. JMX API Enhancements
    Enhancements has been made to the JMX API in Java SE 6 like : JMX API now completely supports Generics, MXBeans have been added and much more?
      

  4. Java Platform Debugger Architecture Enhancements
    JVMDI has been deleted in JAVA SE 6 and JPDA has been added. Some new Methods are included like boolean boolean canGetInstanceInfo() and much more?
      

  5. Java SE 6 Monitoring and Management Enhancements
    API provided by JAVA SE allows you to monitor and manage the JVM in the package java.lang.management. JAVA SE 6 includes some enhancement to this API.
      

  6. New Package java.util.spi in JDK 6
    A new package Java.util.spi has been included in JAVA SE 6.
      

  7. Networking features and enhancements in Java SE version 6.0
    This feature include enhancement in networkInterface, support for Internationalized Domain Names, HTTP Negotiate Authentication and much more?
      

  8. Enhancements in java.lang.Class and java.lang.reflect
    Some new Methods are included in java.lang.Class like : getInterfaces(), getClasses(), getConsturctors(), getMethod(String, Class?) and much more?.
      

  9. Enhancement in RMI for JDKTM 6
    java.rmi.MarshalledObject now support generics
      

  10. JAVA SE 6 Security Enhancements
    JAVA SE 6 has added support for some security functionality: the XML Digital signature API and implementation, Smart Card I/O API. And much more? 
      

  11. Serialization Changes and Enhancements in JAVA SE Development Kit 6
    The new method ObjectStreamClass.lookupAny now used to obtain an ObjectStreamClass instance for a non-serializable Class
      

  12. JavaTM Virtual Machine Technology
    DTrace support has include in Java SE 6 HotSpot VM. The hotspot provider makes available probes that can be used to track the lifespan of the VM, thread start and stop events
      

  13. Scripting for the Java Platform
    By using this Features developers integrate Java technology and scripting languages by defining a standard framework and application programming interface (API)
     

  14. Leveraging Security in the Native Platform Using Java SE 6 Technology
    The JAVA SE 6 provide a large set of security APIs. These Security APIs span a wide range of areas, including cryptography public key infrastructure, secure communication, authentication, and access control.

  15. JAX-Web Services 2.0 With the Java SE 6 Platform
    Most exciting new features of the JAVA SE 6 is support for the Java API for XML Web Services (JAX-WS), version 2.0.

  16. What are New Features in JAVA SE 6
    The articles highlights the new features and latest developments in the Java SE 6 which will make familiar to you with these update features.

  17. Java faqs
    This section contains collection of frequently asked questions(faqs) in interview or viva of Java.

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: March 12, 2008

Related Tutorials

Discuss: Java SE 6   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:6
kish
April 22, 2011
Regarding JDK Version

Hi Sir/Madam, This is Kishore. I seen below sentence in this site, is it true? The latest news for the java programmers that the Sun MicroSystems has released the Java SE 6 on Monday December 11.
Ankit
June 8, 2011
Site not working

For collection frame work its not working
srinivas
June 12, 2011
java

hello sir... plz send me java SE 6 METERIALS TO MY MAIL ID...
Prathik Nagaraj
July 11, 2011
JAVA Image I/O

how do you create an image in JAVA with RGB pixel values.....can you plz give me the logic or the program.....thank you in advance
rangareddy
October 10, 2011
java,advanced java

iam a sun certified java programmer
NavaN
December 13, 2011
java SE

give me a java program for following output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
DMCA.com