Java Pitfalls:Time-Saving Solutions and Workarounds to Improve Programs
×
Success!
×
Error!
×
Information !
Rights Contact Login For More Details
- Wiley
More About This Title Java Pitfalls:Time-Saving Solutions and Workarounds to Improve Programs
- English
English
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.
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.
- English
English
LANGUAGE SYNTAX.
When is an "Overridden" Method Not Really Overridden?
Usage of String Equals() Method versus the "=="Operator.
Java is Strongly Typed.
Is That a Constructor?
Cannot Access Overridden Methods.
Avoid the "Hidden Field" Pitfall.
Forward References.
Design Constructors for Extension.
Passing Primitives by Reference.
Boolean Logic and Short-Circuit Operators.
LANGUAGE SUPPORT.
Reclaiming References When Using SoftReference Objects.
Causing Deadlock by Calling a Synchronized Method from a Synchronized Method.
Properly Cloning an Object.
Overriding the equals Method.
Avoid Using Constructor for Implementing clone().
Method Dispatching with Reflection, Interfaces, and Anonymous Classes.
Handling Exceptions and OutOfMemoryError.
UTILITIES AND COLLECTIONS.
Ordered Property Keys?
Handling Occasionally Huge Collections with Caching and Persistence.
Property File or ResourceBundle?
Properties Object Pitfalls.
Using Vector as a Collection Instead of Old API.
INPUT/OUTPUT.
Serialization.
Unicode, UTF, and Streams.
Sending Serialized Objects over Sockets.
Try, Catch... Finally?
Flushing Image Resources.
GUI PRESENTATION.
Providing Progress Feedback.
Using repaint () Instead of validate () for Re-Layout of Components.
Z-Order and Overlapping Components.
Solving the Validate, Revalidate, Invalidate Mystery.
Stacking Items Vertically.
How to Use GridBagLayout Properly.
Avoiding Flicker.
Components with Embedded HTML.
GUI CONTROL.
Better Data Validation.
Desensitizing GUI Components Based on Application State.
Use Threads in Event Handlers to Avoid Freezing Your GUI.
Model View Controller and JTree.
How to Data Transfer Something Other than Text.
A KeyListener That Doesn't Listen?
Printing Text, HTML, and Images in a JEditorPane.
PERFORMANCE.
Lazy Loading Our Way to Better Performance.
Using Object Pools for Excessive Object Creation.
Performance Watch: Array versus Vector.
Avoid Using Temporary Arrays for Dynamic Array Growth.
Use StringBuffer Instead of '+' for Concatenation inside a Loop.
MISCELLANEOUS.
Is There a Better Way to Debug?
Encapsulating JNI Calls through Interfaces.
Assertions.
Index.
When is an "Overridden" Method Not Really Overridden?
Usage of String Equals() Method versus the "=="Operator.
Java is Strongly Typed.
Is That a Constructor?
Cannot Access Overridden Methods.
Avoid the "Hidden Field" Pitfall.
Forward References.
Design Constructors for Extension.
Passing Primitives by Reference.
Boolean Logic and Short-Circuit Operators.
LANGUAGE SUPPORT.
Reclaiming References When Using SoftReference Objects.
Causing Deadlock by Calling a Synchronized Method from a Synchronized Method.
Properly Cloning an Object.
Overriding the equals Method.
Avoid Using Constructor for Implementing clone().
Method Dispatching with Reflection, Interfaces, and Anonymous Classes.
Handling Exceptions and OutOfMemoryError.
UTILITIES AND COLLECTIONS.
Ordered Property Keys?
Handling Occasionally Huge Collections with Caching and Persistence.
Property File or ResourceBundle?
Properties Object Pitfalls.
Using Vector as a Collection Instead of Old API.
INPUT/OUTPUT.
Serialization.
Unicode, UTF, and Streams.
Sending Serialized Objects over Sockets.
Try, Catch... Finally?
Flushing Image Resources.
GUI PRESENTATION.
Providing Progress Feedback.
Using repaint () Instead of validate () for Re-Layout of Components.
Z-Order and Overlapping Components.
Solving the Validate, Revalidate, Invalidate Mystery.
Stacking Items Vertically.
How to Use GridBagLayout Properly.
Avoiding Flicker.
Components with Embedded HTML.
GUI CONTROL.
Better Data Validation.
Desensitizing GUI Components Based on Application State.
Use Threads in Event Handlers to Avoid Freezing Your GUI.
Model View Controller and JTree.
How to Data Transfer Something Other than Text.
A KeyListener That Doesn't Listen?
Printing Text, HTML, and Images in a JEditorPane.
PERFORMANCE.
Lazy Loading Our Way to Better Performance.
Using Object Pools for Excessive Object Creation.
Performance Watch: Array versus Vector.
Avoid Using Temporary Arrays for Dynamic Array Growth.
Use StringBuffer Instead of '+' for Concatenation inside a Loop.
MISCELLANEOUS.
Is There a Better Way to Debug?
Encapsulating JNI Calls through Interfaces.
Assertions.
Index.
- English
English
"Any programmers office would benefit from having at lest one copy of this book hanging around." (Application Development Adviser, September 2000)
"I found the book useful..."(Cvu, February 2001)
"I found the book useful..."(Cvu, February 2001)