J2SE 5.0 Adoption

Banner Graphic: Tiger Adoption
Thinking of migrating to Java 2 Platform, Standard Edition (J2SE) 5.0 but need just a little more information? We have aggregated J2SE 5.0 articles, tips, features, white papers, and more to help make the process that much easier.
 
Contents
What's New
Sun Microsystems Talks With Li Moore of Google by Robert Eckstein
Software engineer Li Moore discusses Google's switch to J2SE 5.0: "This release is purely an improvement, in terms of language features, libraries, stability, performance, and tools."
 
XML Validation and XPath Evaluation in J2SE 5.0 by Robert Eckstein
J2SE 5.0 provides support for validating an XML document against a schema, as well as evaluation of XPath for selecting document nodes. This article shows how to make the most of javax.xml.validation and javax.xml.xpath libraries, and it provides simple tutorials on both XML schema and XPath.
 
Become.com's Web Crawler: A Massively Scaled Java Technology Application by Janice J. Heiss
Become.com, an innovative shopping search engine, has created a Java technology web crawler that passes through 3 billion pages in seven days and may be the most sophisticated and massively scaled Java technology application in existence.
 
Reasons to Migrate to J2SE 5.0 (Tiger) by John O'Conner
The J2SE 1.4 platform was great, but J2SE 5.0 is even better. This article describes why developers should migrate to J2SE 5.0.
 
Technical Articles

Internationalization: Understanding Locale in the Java Platform by John O'Conner
To be effective, an application should respect the user's language and geographic region. Learn how to use locale-sensitive objects to customize your Java technology application with the use of language, country, and variant codes.

Using JConsole to Monitor Applications by Mandy Chung
This article describes how JConsole can be used to observe information about an application running on the Java platform, with an overview of the J2SE 5.0 monitoring and management architecture.

Using Annotations to Add Validity Constraints to JavaBeans Properties by Anders Holmgren
This article shows how you can use the new Annotations feature of J2SE 5.0 to add constraints like minimum and maximum length, regular expressions, and more to your JavaBean properties.

Concurrent Programming With J2SE 5.0 by Qusay H. Mahmoud
J2SE 5.0 has provided a new way to develop multithreaded programming, through the java.util.concurrent package, which offers a standard set of concurrency utilities, easing the task of developing multithreaded applications and servers.

More . . .

Did You Know in JDK 5.0?
Each month, read the Java Technology Fundamentals Newsletter and Tech Tips to learn about articles and tips on how to program for the Java platform. The following links are to J2SE 5.0 tips that were sent out to subscribers.
 
Java Technology Fundamentals Newsletter

Managed Images Everywhere & JFrame.add(...)
Learn easier ways to manage images and add objects to a JFrame.

Sizeof for Java and StringBuilder
With JDK 5.0, you can get size in two new ways without using profilers or native agents. Learn how in this tip.

Formatting Basics With JFormattedTextField
For a JFormattedTextField, the validation magic is controlled by the focusLostBehavior property. Learn how to use this new feature.

More . . .

Tech Tips

Using the varargs Language Feature
In this tip, you will learn why it's a good idea to take advantage of varargs as a client of an API. The tip also cautions against introducing varargs to an API that you create, unless it is warranted.

Beyond J2SE 5.0
J2SE 5.0 was released in September 2004. Its successor, Java Platform, Standard Edition (Java SE 6), is due in the first half of 2006.

The Enhanced For Loop
In this tip, you will see how the enhanced for loop replaces more traditional ways of sequentially accessing elements in a collection.

More . . .

Code Samples

Java Web Start Samples
The JDK contains a sample/jnlp directory that includes five samples: CORBA, JRE auto-download installer, Random-access file, servlet, and WebPad Application.

Java 2D API Samples
These sample applets and applications show the full power of the Java 2D API.

White Papers and Overviews

J2SE 5.0 Performance White Paper by Sun Staff
This guide gives an overview of the performance and scalability improvements made in the J2SE 5.0 release along with various benchmarks to demonstrate the impact of these improvements.

Java Platform Migration Guide
This guide helps developers migrate Java applets, stand-alone applications, Java Web Start applications, and development tools from version 1.3 of the Java platform to version 5.0.

New Features and Enhancements J2SE 5.0
J2SE 5.0 is a major feature release. This article introduces new features since version 1.4.0.

More . . .

Interviews

Migrating to Tiger: James Gosling and Mark Reinhold on Java 2 Platform, Standard Edition 5.0
The father of Java technology and the chief engineer of the Java Platform, Standard Edition discuss J2SE 5.0, the twists and turns of JFC/Swing, autoboxing, enhanced-for loops, and more.

Tiger and Beyond, the Future of the Java Platform
In this interview, we asked Graham Hamilton, Sun Fellow in the Java platform team at Sun Microsystems, to provide a broader perspective on Tiger, Java Platform, Standard Edition version 6, version 7, and the long-term future of the Java platform.

An Interview With Onno Kluyt
Onno Kluyt is the chairperson of the the Java Community Process Program, the director of the JCP Initiative and Jini Program, and was the point person in the introduction of JCP2 in 2000. Together with Sun Microsystems, the JCP creates and evolves the specifications for the Java technology binary software standard.

Building a Better Mousetrap: Making Development Easier With Java Tools
As part of Sun Developer Tools Month, we caught up with Bob Brewin, a Sun Microsystems Distinguished Engineer and chief architect for developer tools, as well as the original architect of Sun Java Studio Creator software.

Tiger Roars: An Interview With Sun Microsystems Vice President Graham Hamilton, Part One
To get up to speed on J2SE 5.0, we met with Graham Hamilton, Sun Fellow in the Java platform team at Sun Microsystems.

Chat Transcripts
New Language Features in J2SE 5.0 (update)


Squeezing Performance From the Java HotSpot Virtual Machine, With Peter Kessler and Ross Knippel
Peter Kessler is the technical lead for garbage collection (GC) in the HotSpot VM. He answered questions about storage allocation and garbage collection. Ross Knippel focused on the HotSpot Server Compiler.

Getting High Performance From Your Desktop Client, With Chet Haase and Scott Violet
Chet Haase is a key member of the Java 2D API engineering team and often focuses on graphics performance-related topics. Scott Violet is the architect for JFC/Swing.

More . . .

Sun's Web, Instructor, and Virtual Courses

J2SE Platform 5.0 for the Developer: Language Changes (SEM-DTJ-2762)
This instructor-led course provides students with a detailed look at the critical new features in J2SE 5.0.

J2SE 5.0 New Features and Behavioral Changes: Overview (WJT-2761)
This web-based course provides students with the knowledge about the new features, behavioral changes, and skill sets necessary to work with J2SE 5.0.

Java Programming Language Workshop (VC-SL-285)
This virtual course provides students with practical experience in designing a vertical solution for a distributed, multitier application. Students use graphical user interface (GUI) design principles and network-communications capabilities to code a functional Java application that interacts with a networked database server. The significant amount of lab time emphasizes the workshop nature of this course.

Online Quizzes

J2SE 5.0
J2SE 5.0 has introduced several enhancements as well as new language features. Test your knowledge of the Tiger release! Choose the best answer for each question, then click Submit to see how you scored.

Books

Java in a Nutshell, 5th Edition

Head First Java, 2nd Edition

Java 5.0 Tiger: A Developer's Notebook

Professional Java JDK 5 Edition

More . . .

Rate and Review
Tell us what you think of the content of this page.
Excellent   Good   Fair   Poor  
Comments:
Your email address (no reply is possible without an address):
Sun Privacy Policy

Note: We are not able to respond to all submitted comments.

Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
JavaOne Banner Java 8 banner (182)