Download (direct link):
This book has been a difficult journey. It survived through three co-author changes, several delays, and a move to a new state. Along the way, the vision of the book never faded, and in some way it willed itself into existence. All the authors believe that uncovering pitfalls helps programmers produce better programs with less frustration. I would like to thank those people who helped me through this challenge: my family— Lynne, CJ, Greg, and Samantha; my editors at Wiley Publishing, Inc.—Bob Elliott and Emilie Herman; my co-authors—Kevin, Clay, and Donnie; Al Saganich for contributing two pitfalls; my supervisors, customer and coworkers on the Virtual Knowledge Base project—Ted Wiatrak, Danny Proko, Joe Broussard, Joe Rajkumar, Joe Vitale, Maurita Soltis, and Becky Smith; my editor at Javaworld—Jennifer Orr; my friends at Oberon—Jodi Johnson and Dave Young; and finally, I would like to thank our readers who share our goal of producing great programs. Thanks and best wishes!
Michael C. Daconta
First of all, I would like to thank my co-authors—Mike, Clay, and Don. Your hard work on this project, and our many brainstorming sessions together at Cracker Barrel, helped create a good book full of our Java experiences and lessons learned. Second, I would like to thank my other new friends at McDonald Bradley and our entire VKB team. What a team of incredible folks.
I would like to give special thanks to a few people who suggested pitfalls and ideas for this book—John Sublett from Tridium, Inc. in Richmond, Virginia, Kevin Moran from McDonald Bradley, and Jeff Walawender from Titan Systems. Lois G. Schermer-horn and Helen G. Smith once again served as readability editors for some of my material. Special thanks to Stan and Nicole Schermerhorn for allowing me to use their company's name, Lavender Fields Farm, in a fictional scenario in this book. Also, thanks to Al Alexander, who granted me permission to use DevDaily's DDConnec-tionBroker to demonstrate a solution to a common programming pitfall.
My experience on Java projects with many software engineers and architects over the years helped me in writing this book: Ralph Cook, Martin Batts, Jim Johns, John Vrankovich, Dave Musser, Ron Madagan, Phil Collins, Jeff Thomason, Ken Pratt, Adam Dean, Stuart Gaudet, Terry Bailey, JoAnn White, Joe Pecore, Dave Bishop, Kevin Walmsley, Ed Kennedy, George Burgin, Vaughn Bullard, Daniel Buckley, Stella Aquilina, Bill Flynn, Charlie Lambert, and Dave Cecil III. I would also like to thank Bill Lumbergh, and the TPS Report support team at Initech—Peter, Samir, and Michael.
I would like to express thanks to my dad, who jump-started my career in computer science by buying me a Commodore Vic-20 in 1981. Making the most of the 5 KB of memory on that box, I learned not to use memory-consuming spaces in my code—per-haps contributing to "readability" pitfalls when I started writing code in college. Thanks to my former teachers who helped me in my writing over the years—Audrey Guengerich-Baylor and Rebecca Wright-Reynolds.
Over the last year, I have been blessed with many new friends at New Hanover Presbyterian Church and neighbors in Ashcreek in Mechanicsville, Virginia. Special thanks to the guys in last year's Wednesday night Bible study—Rich Bralley, Billy Craig, Matt Davis, Dan Hulen, Chuck Patterson, Ben Roberson, Keith Scholten, Todd Tarkington, and Matt Van Wie. I would also like to thank folks who helped me take a break to focus on playing the trumpet this year—Ray Herbek, Jeff Sigmon, Rita Smith, and Kenny Stockman.
Finally, I would like to thank my wonderful wife Gwen. Without her love and support, this book would never have been possible!
Kevin T. Smith
All of my material for this book is drawn largely from an object-oriented class I teach and a lot of great developers I've worked with over the years. Specifically, I'd like to thank these people who inspired me with their probity and hard work: Peter Len, Joe Vitale, Scot Shrager, Mark "Mojo" Mitchell, Wendong Wang, Chiming Huang, Feng Peng, Henry Chang, Bin Li, Sanath Shetty, Henry, John and Andy Zhang, Swati Gupta, Chi Vuong, Prabakhar Ramakrishnan, and Yuanlin Shi.
Special thanks goes to my beloved wife Van and her support and assistance during the writing of this book and the three coauthors of this book who are really progressive thinkers and great guys to hang with.
First, I would like to thank my wife Alicia for all of her patience and understanding while I wrote this book. You truly are the greatest and I love you more than you understand. To Jennifer, my baby doll, you are the greatest gift a father could ever receive. To Stephanie, I love you and I will never forget you. I would like to thank my parents, Bill and Kay, for being, well, my parents. Nothing I could write here could express the impact you have had on my life.
I would like to thank my fellow authors, Mike, Kevin, and Don, for being patient while I got up to speed. You guys are not only exceptional technical talents, but also exceptional people. To my team—Mark Mitchell (aka Mojo), Mauro Marcellino (Tre, who saw us here when we were riding ambulances together), Peter Len, Marshall Sayen, Scot Schrager, Julie Palermo/Hall/Bishop, and Joe Vitale, you guys are the