The Register® — Biting the hand that feeds IT

Feeds

Java 6 Platform Revealed

What's new in Java 6, pre-release

Agentless Backup is Not a Myth

Book review It seems it was only yesterday that the Tiger was escaping into the wild, and here we are today with Mustang rearing up ahead, and the Dolphin already surfacing here and there.

Javaists will recognise Tiger, Mustang and Dolphin as Java 5.0, 6.0 and 7.0 respectively, and everyone else can now stop scratching their heads and wondering what this reviewer is on about. And with Java 6.0 on the horizon we can expect a slew of books to follow – either established titles updated or, as in this case, new titles making a first appearance.

The cunningly entitled Java 6 Platform Revealed aims to give the experienced Java developer a fast introduction to the new features that the Mustang release has to offer.

The obvious proviso is that Java 6.0 hasn't been released yet, so the book actually reflects the state of play prior to the official release; leaving open the possibility that some of the details may change in the delivered version. However, with an autumn release still on the cards, it's unlikely there will be major differences between what's in the book and what's released.

Aside from the first chapter, which attempts an overview of what's new in Java 6, the book is structured around the major class libraries starting with java.lang and java.util right on through to look at I/O, AWT/Swing, JDBC 4.0, XML, Web Services and so on. There's also coverage of some of the newest libraries, such as the Java compiler API and Java scripting.

Each chapter opens with a table listing the changes to the appropriate packages – which makes it easy to see the number of changes in interfaces, classes, exceptions thrown etc. While the table gives you an idea of the number of changes, there's no easy way to pin down how deep or important these changes are. The scale of the changes is covered in the rest of the chapter, typically by looking at a specific new or updated feature, showing how things stand now and then showing how the new features solve the problems.

Of necessity, this is a coder's book, with plenty of downloadable source and code listings in the text. While the author doesn't assume "gurudom" in his audience, he does assume that he's writing for active Java developers at home with Java 5.0. The downside of the code-heavy approach is that sometimes the long listings get in the way of the text. However, the writing is generally clear; and the examples are well chosen and the code easy to follow.

Nevertheless, while the book does take a wide look at the extent of Mustang, it could still have done with some more depth when covering some of the landmark changes to the platform.

For example, a major thrust of the next release is Java on the desktop and the inclusion of scripting support (which means that the Java platform will include support for a number of scripting engines, with the Mozilla Rhino JavaScript engine being included as a standard part of the platform). There's coverage of both of these in the book, but given their importance, it would have been good to go into more depth on them.

Java 6 Platform Revealed

Java 6 RevealedVerdict: This book offers a wide coverage of Mustang, but is somewhat limited in depth in some areas. However, its aim is to provide a fast overview of what's new and this it clearly does.

Author: John Zukowski

Publisher: Apress

ISBN: 1590596609

Media: Book

Buy this book at Cash 'n' Carrion.

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

Latest Comments

JAXB coverage

Deepak, it doesn't appear on the table of contents as a separate item, but the book does indeed cover JAXB 2.0 in chapter 6.

0
0

Support for JAXB 2.0 is not mentioned as a new feature in JDK 6.0

In the Java 6 Platform Revealed book JAXB 2.0 is not listed in the Table of Contents. Support for JAXB 2.0 is a new feature in JDK 6.0.Support for StAX is also mentioned just as a package listing. A chapter on StAX and JAXB 2.0 would be suitable. Also the new Java data type SQLXML should be listed.

0
0

More from The Register

Bjarne Again: Hallelujah for C++
Plus: Now officially OK to admit you never used STL algorithms
Interwebs taunt Sir Jony over Apple eye candy makeover
Hey Ive, Ive... add more unicorns, willya?
SCO vs. IBM battle resumes over ownership of Unix
Zombie lawsuit back and wants to suck the brains out of Linux
Apple: iOS7 dayglo Barbie makeover is UNFINISHED - report
Plus: You don't like the icons? Blame marketing
Red Hat to ditch MySQL for MariaDB in RHEL 7
So long, Oracle! Don't let the door hit you on the way out
Shy? Socially inadequate? Fiddling with your phone could help
App 'tells the brutal truth' about social inadequates' chatup lines
Java EE 7 melds HTML5 with enterprise apps
New release arrives with GlassFish, NetBeans support
 breaking news
'Office Facebook' firm Tibbr wants you to PAY for mobe-meetings app
Great idea. Punters won't cough for it though
 breaking news
The only Waze is Google: Ad giant tipped to gobble map app 'for $1.3bn'
Pac-Man-satnav-ish upstart in bidding war with Apple, Facebook
 breaking news
PM Cameron calls for modern, programmable computers! (We think)
IT education musings to G8 chiefs to mystify IT industry