Java Book Cover
By Jonathan Knudsen, Patrick Niemeyer

Table of Contents  | Index
Java Overview

Version 5.0 of the Java 2 Standard version SDK is the most important upgrade since Java first appeared a decade ago. With Java 5.0, you'll not only find substantial changes in the platform, but to the language itself-something that developers of Java took five years to complete. The main goal of Java 5.0 is to make it easier for you to develop safe, powerful code, but none of these improvements makes Java any easier to learn, even if you've programmed with Java for years. And that means our bestselling hands-on tutorial takes on even greater significance.

Learning Java is the most widely sought introduction to the coding language that's changed the way we think about computing. Our updated third version takes an objective, no-nonsense approach to the new features in Java 5.0, some of which are drastically different from the way things were done in any previous versions. The most essential change is the addition of "generics", a feature that allows developers to write, test, and deploy code once, and then reuse the code again and again for different data types. The beauty of generics is that more problems will be caught during development, and Learning Java will show you exactly how it's done.

Java 5.0 also adds more than 1,000 new classes to the Java library. That means 1,000 new things you can do without having to program it in yourself. That's a huge change. With our tutorial's practical examples, you'll come up to speed quickly on this and other new features such as loops and threads. The new version also includes an introduction to Eclipse, the open source IDE that is growing in popularity.

Learning Java, version 3.0 addresses all of the important uses of Java, such as web apps, servlets, and XML that are increasingly driving enterprise apps. The accompanying CD includes the Java 5.0 SDK for Windows, Linux and Solaris, plus the Eclipse IDE, the NetBeans IDE, and the many example programs from the tutorial.