|
|
Page 1 of 29 articles
|
|
Mustang Must-Haves: What's Cool in Java SE 6
The long-awaited Java SE 6 is upon us. This latest version of the Java SE environment brings a number of new features and enhancements, such as integrated support for scripting languages and Web services, improved JDBC features, and an integrated Derby database (in the SDK release), as well as some nice management features and enhanced performance.
|
New JDBC SQL/XML Features Improve XML Data Handling
The new version of the Java Database Connectivity API (JDBC 4) is getting a major face-lift with many great new features. Perhaps the most important update is the support for the XML data type, defined by the SQL 2003 standard. While storing XML in the database and having your application make updates to it isn't anything new, this is the first time that JDBC offers a mapping interface (java.sql.SQLXML) to support the SQL/XML database data type. Of course other interfaces, such as java.sql.Connection and java.sql.ResultSet, were updated as well to reflect this new addition.
|
|
|
Java SE 6 - The JConsole tool
With the release of Java SE 6, aka "Mustang," we saw performance improvements as well as some new and intriguing features. In this section of the Java Reference Guide we will review some of these features.
|
Splash Screen in Java 6.0 ( Mustang)
According to Wikipedia, a splash screen is a computer term for an image that appears while a program or operating system is loading. It provides the user with a visual indicator that the program is initializing. Prior to Java SE 6 you could only offer the behavior of a splash screen by creating a window at the start of your main method and placing an image in it. Although this worked, it required the Java runtime to be fully initialized before the window appeared. This initialization included AWT and typically Swing, so that it delayed the initial graphical display. With Java SE 6, a new command-line option makes this functionality much easier. It also displays the image more quickly to the user, that is, even before the Java runtime has started. Final inclusion of the feature is subject to JCP approval.
|
Scripting in Java 6.0 - Part 1
In this article i will write a small program using Scripting feature in Java 6.0, a new feature introduced in Java 6.0 mustang. This is cool and more useful when we are working with the scripting languages. I am not going to explain in depth, will explain with very small example. In my next article i will write about the advanced features in script programming in java. Follow the steps to run your first script program in Java 6.0 :
|
Deques in Java 6.0 (Mustang)
Deque is short for double-ended queues (deque is pronounced like deck, not like de-queue). A queue supports adding from one end and removing from the other. By comparison, double-ended queues support adding and removing from both ends -- it operates like a combined stack and queue. The Deque interface extends from the Queue interface introduced in J2SE 5.0, and is the latest addition to the Java Collections Framework with Java SE 6. (Final inclusion of the feature is subject to JCP approval.) Implementations of the interface include the LinkedList, ArrayDeque, and the concurrent LinkedBlockingDeque.
|
The New Modality API in Mustang
A dialog box is a top-level pop-up window with a title and a border that is typically used to take some form of input from the user. With JDK 5.0 and earlier, a dialog box must have either a frame or another dialog box defined as its owner when the dialog box is constructed, even if the box is invisible. When the user minimizes the owner window of a visible dialog box, this automatically hides the dialog box from the user. When the user subsequently restores the owner window, the dialog box becomes visible again.
|
More Enhancements in Java SE 6
Version 6 of the Java Platform, Standard Edition contains a number of features that make programming with Java technology easier. In this article, we discuss four new features that allow you to do the following:
|
Core Java Technology Features
A few weeks ago, the desktop Java client group published an article detailing the important desktop Java technology features planned for the next release of the Java Platform, Standard Edition (Java SE, formerly known as J2SE).
|
New System Tray Functionality
The latest beta release of the Java Platform Standard Edition 6 version now lets you access the system tray in Java with the help of two separate classes in the java.awt package: SystemTray and TrayIcon. These classes give you the ability to add graphics, popup menus, and floating tip functionality to the system tray. If approved by the JSR 270 Expert Group through the Java Community Process, you can expect to find this feature in the final version.
|
|
Next>> |