Java Pitfalls - Time-Saving Solutions and Workarounds to Improve... - Librairie Eyrolles

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Java Pitfalls
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Java Pitfalls

Java Pitfalls

Time-Saving Solutions and Workarounds to Improve Programs

Michael C. Daconta, Eric Monk

304 pages, parution le 15/04/2000

Résumé

Proven workarounds for common Java™ programming problems

This book was designed to save Java programmers from the backbreaking chore of digging out from problems caused by Java's inherent flaws. Java programming guru Michael Daconta provides proven solutions to 50 difficult problems commonly encountered by Java programmers. He provides workarounds for problems caused by shortcomings in both the Java language itself and in its APIs and utilities, including java.util, java.io, java.awt, and javax.swing. He also explains how to solve common performance-limiting problems that can beset Java applications—an area of critical concern for programmers who develop mission-critical enterprise applications.

Table of contents



Language Syntax.
When is an "Overridden" Method Not Really Overridden'
Usage of String Equals() Method Vice 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/Out.
Serialization.
Streams, Unicode, and UTF.
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, Invidate Mystery.
Stacking Items Vertically.
How to Use GridBagLayout Properly.
Avoiding Flicker.
Embedded HTML in GUI Components.
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 Key Listener 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 vs 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 Though Interfaces.
Assertions.

L'auteur - Michael C. Daconta

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.

L'auteur - Eric Monk

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.

Caractéristiques techniques

  PAPIER
Éditeur(s) Wiley
Auteur(s) Michael C. Daconta, Eric Monk
Parution 15/04/2000
Nb. de pages 304
EAN13 9780471361749

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription