Summer Reading B2G1 Free
 
 

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to PowellsBooks.news
for a chance to win.
Privacy Policy

Visit our stores


    Recently Viewed clear list


    Original Essays | July 14, 2015

    Joshua Mohr: IMG Your Imagination, Your Fingerprint



    When I was in grad school, a teacher told our workshop that if a published novel is 300 pages, the writer had to generate 1,200 along the way. I... Continue »
    1. $17.50 Sale Hardcover add to wish list

      All This Life

      Joshua Mohr 9781593766030

    spacer

On Order

$45.50
New Trade Paper
Currently out of stock.
Add to Wishlist
available for shipping or prepaid pickup only
Qty Store Section
- Local Warehouse Computer Languages- Java

More copies of this ISBN

Practical Java Programming Language Guide (Addison-Wesley Professional Computing)

by

Practical Java Programming Language Guide (Addison-Wesley Professional Computing) Cover

ISBN13: 9780201616460
ISBN10: 0201616467
Condition:
All Product Details

 

Synopses & Reviews

Publisher Comments:

Written by an "in-the-trenches" expert on the Java™ programming language, this book provides readers with a practical approach to producing correct, efficient, and robust code.

This broad-ranging guide can help programmers with varying levels of expertise to understand Java more completely and to maximize their coding effectiveness. This book's rules-based format examines 68 key topics on how to improve your code, providing crisp, well-written examples and solutions. All of the examples and solutions are accompanied by thorough explanations for achieving a working solution of your own. This practical approach to programming and design describes the best practices used by experienced programmers. Intended for the intermediate to advanced Java programmer, the Practical Java™ Programming Language Guide is organized into individual lessons, so it can either be read from cover to cover or by individual topic.

Topics discussed include:

  • Objects and equality
  • Exception handling
  • Performance
  • Multithreading
  • Classes and interfaces

If you want to spend less time debugging, optimizing, and tuning your code, this example-oriented, down-to-earth guide is full of practical techniques for exploiting the Java programming language. The 68 topics were chosen based on their relevance to effective and efficient programming practices. A special section focusing on performance provides valuable insights into Java performance issues and useful performance improvement techniques. If you want real-world, sound advice on building applications using the Java programming language, this book is essential reading.

0201616467B04062001

Book News Annotation:

Provides intermediate to advanced programmers with a practical approach to producing robust code. A rules-based format examines 68 key topics on improving code, with examples and solutions accompanied by explanations. Coverage includes objects and equality, exception handling, performance, and multithreading. A special section provides insight into Java performance issues and performance improvement techniques. The author is a senior software engineer at IBM.
Annotation c. Book News, Inc., Portland, OR (booknews.com)

Description:

Includes bibliographical references (p. 246-247) and index.

About the Author

Peter Haggar is an acknowledged expert on Java programming and a Senior Software Engineer at IBM. He has a broad range of programming experience, having worked on development tools, class libraries, and operating systems. At IBM, he works on emerging Java technology and is currently focusing on embedded and real-time Java. Peter is also a frequent technical speaker on Java technology at numerous industry conferences. He received a B.S. in computer science from Clarkson University.

0201616467AB04062001

Table of Contents

Preface.

Acknowledgments.

GENERAL TECHNIQUES.

Praxis 1: Understand that parameters are passed by value, not by reference.

Praxis 2: Use final for constant data and constant object references.

Praxis 3: Understand that all non-static methods can be overridden by default.

Praxis 4: Choose carefully between arrays and Vectors.

Praxis 5: Prefer polymorphism to instance of.

Praxis 6: Use instance of only when you must.

Praxis 7: Set object references to null when they are no longer needed.

OBJECTS AND EQUALITY.

Praxis 8: Differentiate between reference and primitive types.

Praxis 9: Differentiate between == and equals.

Praxis 10: Do not rely on the default implementation of equals.

Praxis 11: Implement the equals method judiciously.

Praxis 12: Prefer get Class in equals method implementations.

Praxis 13: Call super. equals of base classes.

Praxis 14: Consider carefully instance of in equals method implementations.

Praxis 15: Follow these rules when implementing an equals method.

EXCEPTION HANDLING.

Praxis 16: Know the mechanics of exception control flow.

Praxis 17: Never ignore an exception.

Praxis 18: Never hide an exception.

Praxis 19: Consider the drawback to the throws clause.

Praxis 20: Be specific and comprehensive with the throws clause.

Praxis 21: Use finally to avoid resource leaks.

Praxis 22: Do not return from a try block.

Praxis 23: Place try/catch blocks outside of loops.

Praxis 24: Do not use exceptions for control flow.

Praxis 25: Do not use exceptions for every error condition.

Praxis 26: Throw exceptions from constructors.

Praxis 27: Return objects to a valid state before throwing an exception.

PERFORMANCE.

Praxis 28: Focus initially on design, data structures, and algorithms.

Praxis 29: Do not rely on compile-time code optimization.

Praxis 30: Understand runtime code optimization.

Praxis 31: Use String Buffer, rather than String, for concatenation.

Praxis 32: Minimize the cost of object creation.

Praxis 33: Guard against unused objects.

Praxis 34: Minimize synchronization.

Praxis 35: Use stack variables whenever possible.

Praxis 36: Use static, final, and private methods to allow in lining.

Praxis 37: Initialize instance variables only once.

Praxis 38: Use primitive types for faster and smaller code.

Praxis 39: Do not use an Enumeration or an Iterator to traverse a Vector.

Praxis 40: Use System array copy for copying arrays.

Praxis 41: Prefer an array to a Vector or Array List.

Praxis 42: Reuse objects whenever possible.

Praxis 43: Use lazy evaluation.

Praxis 44: Optimize source code by hand.

Praxis 45: Compile to native code.

MULTITHREADING.

Praxis 46: Understand that for instance methods, synchronized locks objects, not methods or code.

Praxis 47: Distinguish between synchronized statics and synchronized instance methods.

Praxis 48: Use private data with an accessor method instead of public or protected data.

Praxis 49: Avoid unnecessary synchronization.

Praxis 50: Use synchronized or volatile when accessing shared variables.

Praxis 51: Lock all objects involved in a single operation.

Praxis 52: Acquire multiple locks in a fixed, global order to avoid deadlock.

Praxis 53: Prefer notify All to notify.

Praxis 54: Use spin locks for wait and notify All.

Praxis 55: Use wait and notify All instead of polling loops.

Praxis 56: Do not reassign the object reference of a locked object.

Praxis 57: Do not invoke the stop or suspend methods.

Praxis 58: Terminate threads through thread cooperation. Classes and Interfaces.

Praxis 59: Use interfaces to support multiple inheritance.

Praxis 60: Avoid method clashes in interfaces.

Praxis 61: Use abstract classes when it makes sense to provide a partial implementation.

Praxis 62: Differentiate between an interface, abstract class, and concrete class.

Praxis 63: Define and implement immutable classes judiciously.

Praxis 64: Use clone for immutable objects when passing or receiving object references to mutable objects.

Praxis 65: Use inheritance or delegation to define immutable classes.

Praxis 66: Call super. clone when implementing a clone method.

Praxis 67: Do not rely on finalize methods for non-memory resource cleanup.

Praxis 68: Use care when calling non-final methods from constructors.

Appendix: Learning Java.

Further Reading.

Index.

Colophon. 0201616467T04062001

What Our Readers Are Saying

Add a comment for a chance to win!
Average customer rating based on 1 comment:

Veritas Vincit, October 31, 2013 (view all comments by Veritas Vincit)
Been looking for this book for years.
Was this comment helpful? | Yes | No
(1 of 1 readers found this comment helpful)

Product Details

ISBN:
9780201616460
Author:
Jalote, Pankaj
Author:
Haggar, Peter
Publisher:
Addison-Wesley Professional
Location:
Reading, Mass. :
Subject:
Programming Languages - General
Subject:
Java (Computer program language)
Subject:
Programming Languages - Java
Subject:
Java
Subject:
Computer Languages-Java
Copyright:
Edition Number:
1
Edition Description:
Trade paper
Series:
Addison-Wesley Professional Computing Series
Publication Date:
February 2000
Binding:
TRADE PAPER
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Yes
Pages:
320
Dimensions:
9 x 7.3 x 0.8 in 503 gr

Other books you might like

  1. The Healing Path: A Soul Approach to... Used Trade Paper $4.50
  2. The Squiggle
    New Trade Paper $7.99
  3. P J Funnybunny Camps Out Step Into Readi Used Trade Paper $2.95
  4. Red Poppy Used Hardcover $8.50
  5. The Three Little Wolves and the Big... Used Book Club Paperback $2.95
  6. Chicken Soup With Rice Used Book Club Paperback $2.95

Related Subjects

Computers and Internet » Computer Languages » Java

Practical Java Programming Language Guide (Addison-Wesley Professional Computing) New Trade Paper
0 stars - 0 reviews
$45.50 Backorder
Product details 320 pages Addison-Wesley Professional - English 9780201616460 Reviews:
spacer
spacer
  • back to top

FOLLOW US ON...

     
Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.