Friday, July 22, 2005

Desktop Java Live - A Must Have For Desktop Developers

Recently I was fortunate enough to win a copy of Desktop Java Live by Scott Delap (who also runs clientjava.com) during a book promotion over at Javaranch. Desktop Java Live isn’t your typical “how-to” java book full of API references and examples of how to create JFrame’s, JComboBoxes, and custom widgets. DJL is a pioneering book distributed by a pioneering publisher (SourceBeat) that teaches you how to write desktop applications using best practices as well as how to use a plethora of open source libraries to enhance and ease the development of your applications.

Currently there are 7 chapters available with chapter 8 due out the beginning of August. If you don’t know how SourceBeat titles work I’d suggest visiting their website and seeing what they offer. Books are bought on a yearly subscription and for that year you have access to any updated material as well as new chapters as they are made available. A lot better than waiting years for second and third editions. You get the hottest topics while they are still hot.

Scott starts your journey in chapter one and introduces you to desktop applications all over again. He talks about the swing (no pun intended) from rich desktop apps to browser based web applications over the past several years and how to determine if your application is right for the desktop. From there you move on to Layout Managers, GUI Builders (not to be confused with GUI designers), Look And Feel and then to a chapter that is pure gold. Swing Threads.

Chapter 5 on Swing Threads is also the sample chapter available as a free download. This chapter introduces you to the Event Dispatching Thread and discusses common threading pitfalls in Swing applications. Scott then shows you several different freely available API’s that have been made available to help Swing developers deal with threads more effectively. You can search the web for weeks and not find the culmination of useful information available in this single chapter of Scott’s book.

The book continues on with data binding and validation and to my knowledge is the only book that actually teaches you how to use JGoodies data binding and validation frameworks. The book is full of sample code. You never get bogged down in API references or theory. But theory is still important. And I had the honor of being able to read Chapter 8 prior to its release this August which is about Swing Patterns. This chapter also contains a sample application that uses what you have learned all the way to this point. Chapter 8 discusses MVC (Model-View-Controller) and MVP (Model-View-Presenter) and how they are used in and with Swing. Again, no other book that I know of teaches you what Scott does in this chapter alone. And although chapter 8 as well as many other chapters are biased to Swing the concepts are true for almost any toolkit. If you only buy this book for one chapter, it should be chapter 8.

On the horizon are chapters on Java WebStart, Installers, Obfuscators, and the all important Testing. Scott writes in a way that that is easy to follow and understand but does not water down the topics. Scott knows what he is talking about and that shows throughout the book. If you’ve never written a Swing application this book won’t explain how to do that. But if you are even remotely familiar with how to develop Swing applications this book will help your next application be the best it can be.

5 comments:

pedro velasquez said...

I came sportsbook across this site/blog clientjava thriough a link discussing Flex 2. I try not to be too bet nfl narrowminded in my view of the future of rich GUI development so I think this is one to watch. The site's owner also apparently has an e-book online casino Desktop Java Live that is receiving positive reviews. Right now I'm swamped with this Flex 2 typhoon that I'm trying to keep up with and this Medical Licensing Step III exam that I would prefer not http://www.enterbet.com to fail so my Java is on standby but it's worth a glance.

kimberly sayer said...

A combo box is a commonly-used graphical user interface widget. It is a combination of a drop-down list or list box and a single-line textbox, allowing the user to either type a value directly into the control or choose from the list of existing options.costa rica fishingCombo boxes are typically applied to provide autocomplete or autotype functionality in a convenient way to the user.
http://www.fishingcostaricaexperts.com

buy viagra said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I dont know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Lots in Costa Rica said...

These articles are fantastic; the information you show us is interesting for everybody and is really good written. It’s just great!! Do you want to know something more? Read it...: Great investment opportunity in Costa Rica

Viagra said...

I will definitely get my hands on this!