Previous | Home | Next |
Java 1.6 runs faster than Java 1.5.
Java 1.6 makes programming easier by implementing various tools such as SwingWorker and JTable to develop user interface.
In java 1.6,Java DB, a new database management tool, has been included. Java DB is based on the open-source Apache Derby and is supported by Sun.
Jdk 6 provides high performance, reliability, and UI improvements.
Jdk 6 is having expanded monitoring and diagnostics capacities which delivers dramatic out-of-the-box benefits without any coding changes or even a re-compile necessary.
Java SE 6 streamlines web service and XML development, simplifies GUI development and augments native desktop support, expands programmatic access to native security facilities, and is the first release to offer a standardized framework for scripting languages.
More Advance Differences are as follows
J2SE 5.0 (September 30, 2004) tiger [originally numbered 1.5] | Java SE 6 (December 11, 2006) mustang |
Generics: provides compile-time (static) type safety for collections and eliminates the need for most typecasts (type conversion). | Sun replaced the name "J2SE" with java se and dropped the ".0" from the version number. |
Metadata: also called annotations; allows language constructs such as classes and methods to be tagged with additional data, which can then be processed by metadata-aware utilities. | Beta versions were released in February and June 2006, leading up to a final release that occurred on December 11, 2006. |
Autoboxing/unboxing: automatic conversions between primitive types (such as int) and primitive wrapper classes (such as integer). | The current revision is update 14 which was released in may 2009. Support for older win9x versions dropped. |
Enumerations: the enum keyword creates a typesafe, ordered list of values (such as day.monday, day.tuesday, etc.). Previously this could only be achieved by non-typesafe constant integers or manually constructed classes (typesafe enum pattern).- Swing: new skinnable look and feel, called synth. | Scripting Lang support: Generic API for integration with scripting languages, & built-in mozilla javascript rhino integration ,Dramatic performance improvements for the core platform, and swing. |
Var args: the last parameter of a method can now be declared using a type name followed by three dots (e.g. Void drawtext (string... Lines)). In the calling code any number of parameters of that type can be used and they are then placed in an array to be passed to the method, or alternatively the calling code can pass an array of that type. | Improved web service support through JAX-WS JDBC 4.0 support |
Enhanced for each loop: the for loop syntax is extended with special syntax for iterating over each member of either an array or any iterable, suchas the standard collection classes fix the previously broken semantics of the java memory model, which defines how threads interact through memory. | Java compiler API: an API allowing a java program to select and invoke a java compiler programmatically. |
Automatic stub generation for rmi objects. | Upgrade of JAXB to version 2.0: including integration of a stax parser. |
Static imports concurrency utilities in package java.util.concurrent. | Support for pluggable annotations |
Scanner class for parsing data from various input streams and buffers. | Many GUI improvements, such as integration of swing worker in the API, table sorting and filtering, and true swing double-buffering (eliminating the gray-area effect). |
Assertions StringBuilder class (in java.lang package) Annotations |
Previous | Home | Next |