Java pitfalls: time-saving solutions and workarounds to improve programs

Front Cover
Wiley, May 4, 2000 - Computers - 322 pages
0 Reviews
A lifesaver for any Java programmer-proven workarounds and time-saving solutions Although using the Java language provides a substantial boost to a programmer's productivity, it still has its share of subtleties andweaknesses. This book is designed to save you time and frustration by carefully guiding you through this potential minefield. A team of Java experts, led by programming guru Michael Daconta, offers a collection of proven solutions to 50 difficult, real-world problems chosen from their own extensive experiences. You'll find workarounds for problems caused by shortcomings in both the Java language itself and in its APIs and utilities, including java.util,, java.awt, and javax.swing. The authors also share techniques for improving the performance of your Java applications.

For easy reference, the book is organized into categories so that similar solutions are grouped together.

Examples of topics covered include:
* Language syntax, for example, using the String equals( ) method instead of the == operator (Item2)
* Language support, for example, method dispatching with reflection, interfaces, and anonymous classes (Item 16)
* Utilities and collections, like choosing between a PropertyFile and ResourceBundle (Item 20)
* Input/output, including subtleties in sending serialized objects over a network (Item 25)
* GUI presentation, for example, tackling the common pitfall of using repaint( ) instead of validate( ) for relaying out components (Item 29)
* Performance, including tips like lazy loading your way to better performance (Item 43)

From inside the book

What people are saying - Write a review

We haven't found any reviews in the usual places.


Java Is Strongly Typed
Forward References

26 other sections not shown

Other editions - View all

Common terms and phrases

References to this book

All Book Search results »

About the author (2000)

MICHAEL C. DACONTA is President of Synergy Solutions, Inc., where he conducts training seminars and develops advanced systems with Java, JavaScript, and XML. He is a Sun-certified Java programmer and author of Java 2 and JavaScript for C and C++ Programmers and C++ Pointers and Dynamic Memory Management.

ERIC MONK is a software developer for Universal Systems Inc., where he develops medical software using a wide variety of technologies. He is also a coauthor of Java 2 and JavaScript for C and C++ Programmers.

J. PAUL KELLER is a Director of Technology at Sterling Software. He is a Sun-certified Java programmer who has been developing software for twenty years.

KEITH BOHNENBERGER is a Senior Software Engineer at Sterling Software. He is a Sun-certified Java programmer who has been developing software for seven years.

Bibliographic information