Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
Ships from and sold by Amazon.ca.
Gift-wrap available.
The Java¿ Develope... has been added to your Cart
+ CDN$ 6.49 shipping
Used: Good | Details
Condition: Used: Good
Comment: **SHIPPED FROM UK** We believe you will be completely satisfied with our quick and reliable service. All orders are dispatched as swiftly as possible! Buy with confidence!
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

The Java¿ Developers Almanac 1.4, Volume 1: Examples and Quick Reference (4th Edition) Paperback – Mar 25 2002

See all 5 formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
CDN$ 36.99
CDN$ 35.87 CDN$ 5.18

Product Details

  • Paperback: 1024 pages
  • Publisher: Addison-Wesley Professional; 4 edition (March 25 2002)
  • Language: English
  • ISBN-10: 0201752808
  • ISBN-13: 978-0201752809
  • Product Dimensions: 18.8 x 4.8 x 23.1 cm
  • Shipping Weight: 1.5 Kg
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Bestsellers Rank: #2,596,020 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

From Amazon

While Java started out simply enough with relatively few objects and APIs, today's Java 2, Standard Edition (J2SE) bundles over 2,100 classes. The Java Developer's Almanac provides a truly valuable reference to nearly all the classes and APIs in standard Java. This "white pages" for Java puts all classes and APIs at your fingertips, along with short samples illustrating essential programming tasks.

It's a compliment to say that this title resembles a telephone book. With over 1,000 pages (and printed on similar grade of paper), like a phonebook, The Java Developers Almanac is organised alphabetically. Early sections look at Java 2 classes by package, such as graphics (including Java 2D), file I/O, network programming, AWT and Swing. Early sections include several hundred short code excerpts, which provide key programming solutions.

The heart of this text is an A-to-Z compendium of over 2,100 Java classes and a whopping 24,000 methods and properties. Readers get a listing of what's in each class, along with prototype and arguments. As an "almanac" there is no room for explaining what each method does, but by using a clever set of symbols, each listing provides the details of each method (such as which ones are "final," "static" and the like), plus the version of Java in which each method first appeared (JDK 1.0, 1.1, 1.2 or 1.3). These reference sections set a new standard of clarity for documenting classes. (Method and property names are aligned in the middle of the page regardless of return type, a typographic convention that makes it easy to find what you need quickly.)

Later sections provide useful references that list the changes from Java 1.0 through 1.3, as well as PersonalJava, the Java Native Interface (JNI), plus some of the details of the Java Virtual Machine (with a listing of byte codes). An innovative index cross-references all methods and classes (including where objects are used as parameters and return values). Truly encyclopaedic and remarkably well organised, this book is a virtual must-have resource for any serious Java developer. --Richard Dragan, Amazon.com

Topics covered:

  • Comprehensive reference to Java 2, Standard Edition (J2SE) packages, classes and APIs (including 2,100 classes and 24,000 methods), sample code for common programming tasks, working with graphics and images (including Java 2D), playing audio and MIDI files, Abstract Window Toolkit (AWT) and Swing components, JDBC database basics, directory programming with JNDI/LDAP, file system and file I/O, using the Java reflection APIs, basic socket, URL and networking in Java.
  • RMI working with Strings, arrays and collections.
  • Unicode, locale and internationalisation support
  • documented changes in JDK 1.0 through JDK 1.3, the Java Native Interface (JNI), classes included in PersonalJava, and Java Virtual Machine (JVM) byte codes.
--This text refers to an alternate Paperback edition.

From the Inside Flap

Welcome to the fourth edition of The Java™ Developers Almanac.

There was a time when I intimately knew all of the Java class libraries. I knew how it allworked and exactly how everything fit together. I knew what subclassed what, what overrodewhat, and so on (of course, it helped that I was one of the original developers:-). But aside from the occasional inability to remember which argument of Vector.insertElementAt() is the index, I rarely had to refer to any reference documentation.

Version 1.1 added 250 classes and my mastery of the Java class libraries was reduced tohalf. This left me feeling a little disoriented since I no longer knew my way around, and theincreased size of the libraries exceeded my ability to recall the details of the signatures.

Since I make my living writing Java code, it was important that I find an efficient way of"navigating" the new libraries. What I wanted was a quick overview of all of the libraries;something that covered every class and briefly showed their relationships; something thatwould allow me to explore and quickly learn about new packages. This need led to this book.

The Java™ Developers Almanac is like a map of the Java class libraries. It's a compactand portable tool that covers almost all of the libraries, if only from a bird's-eye view. It'sgreat for reminding you of things like method names and parameters. With today's class countat 3000, you're bound to forget a few details now and again. The almanac is great for discoveringthe relationships between the classes, such as determining all methods that return animage. It's also great for quickly exploring a new package.

While this book is comprehensive, the libraries are so vast that there simply isn't enoughroom to provide equally comprehensive documentation.This part is useful when you need an overviewof a package or want to see what other related classes are available in a package.

Most packages provide a number of examples demonstrating common usage of classes inthe package. The examples are designed to demonstrate a particular task using the smallestamount of code possible. Their main purpose is to show you which classes are involved in thedescribed task and generally how they interact with each other.

Part 2: Classes

This part contains 500 pages of class tables, one for each class in all the covered packages. Eachclass table includes a class tree that shows the ancestry of the class and a list of every member inthe class. Also included in the member lists are inherited members from superclasses. Thus youhave a complete view of all members made available by a class. This part is useful when you'realready working with a particular class and want a quick reference to all of the members in theclass. New for this edition are example numbers on some of the members. This number refers toan example that demonstrates the use of the member (or a related member).

Part 3: Topics

This part is a set of quick-reference tables on miscellaneous topics. For example, the topic title"Java 1.4" contains a detailed analysis of the API differences between Java 1.3 and Java 1.4.

Part 4: Cross-Reference

This part is a cross-reference of all of the Java classes and interfaces covered in this book. Thispart is useful when you have questions such as What methods return an Image object? or Whatare all the descendents of java.io.InputStream?


As the title suggests, this book is intended to be updated whenever a new major version of theJava class libraries is released. Since it is designed for you to use in your everyday programming-related work, I would love to hear how I could improve it for the next version or simplywhat you thought about it. Although I'm afraid I probably won't be able to reply, I promise toread and consider each suggestion I receive. You can reach me at the following e-mail address:



Customer Reviews

3.9 out of 5 stars

Most helpful customer reviews

Format: Paperback
I picked this book up a couple months ago and can't imagine how I got along without it before. The first section includes simple examples of common uses of the java packages. I find this extremely useful. There are realms in Java where the intricacies often slip my mind, particularly in java.io, and the small examples of these packages shown in section 1 serve as a perfect reminder of how exactly to accomplish my task.
Section 2 is the meat of the book and includes a reference to the classes and their members. This is similar to the online API, but lacking the descriptions for the methods / classes. This is strictly a quick reference of the methods, their arguments, return types and modifiers, and the variables belonging to a class. For a description of every method, use the online API. Personally though, I find this reference quicker to use than the online API when searching for a particular class. It probably comes down to personal preference, though.
Sections 3 and 4 I honestly haven't found a need for. The first two sections alone are worth the (relatively) [inexpensive] price of the book.
For reference, my qualifications include Sun Java Programmer Certification 1.4 (Passed with an 86%), Graduated Magna Cum Laude from UMass Dartmouth with a Computer Science degree.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
For some time, the Java Developers Almanac version 1.3 has been my constant companion when I taught my courses in Java. With it at my side, I was always able to answer questions of the form, "What class(method) do you use for . . . ?" It is one of that small of number of indispensable references that occupy my special shelf of books that stay within reach of my main workstation.
However, now it has been superceded by this version, the first volume of which covers 91 packages used in server-side development. It is a quick, yet thorough reference to the classes. Each description of a class in part 2 has the name and package it is found in, the inheritance tree describing how it is derived and the prototypes of all data and methods. Part 1 has small segments of code that illustrate the basics of how a class is used. The code examples are organized according to packages, where the packages are listed alphabetically. This makes it very easy to find the basic information about any class and method of the class. There is also a list of newly deprecated members, a complete list of all possible exceptions, a list of the modifications from 1.3 and the default values of the swing UI elements.
This book is rarely more than two feet from my body when I am writing Java and when it gets too far away, I correct the problem very quickly. I included it in my best books of the year column for the online Journal of Object Technology. ...
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
Volume 1 covers java.beans to org.xml packages useful for server side development.
Volume 2 covers java.applet to javax.swing packages useful for developing GUI application.
This is is a review for Vol. 1.
This book is not for begineers or not for learning A Java.This book is a good reference book
for all the java Packages, Classes and Interface.
Packages is useful when you need an overview of a package or what other related classes are
available in a package.
Classes gives complete detail of the ancestry of the class and a list of every member in the
class.This part is useful when you're already working with a particular class and want quick
reference to all of the members in the class.
It has lots of hands on examples, which are very useful for finishing a particular task like,
reading a file, sending a socket etc. like programmers need some basic routines,while coding.
I recommend this book for those, who does professional coding and need to in touch with API.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
nice and soft, printed on light thin paper, the book is divided in two halves. The first half has snippets of code showing how to do this and that, organized in package order (javax.swing are in the yet to be published 2nd volume). Very useful. The second half is a very detailed class documentation in alphabetical order. My take is that if you have an IDE like VisualAge, which allows you to browse through classes and methods, and their references, senders, implementors, then this section of the book is not necessary. On the other hand, if you leaf through the latest Java in a Nutshell... The first half of the book also reminds of Java Cookbook. Couple of things I am perplexed by all these example books is that when exposing an example with dates, they all use the Date class. Unfortunately, this class cannot represent a date prior to 1970, thus many birtdays of living adults today cannot be represented (CalendarDate should be used). The other difficulty in finding example is custom events, property change events, non-bean events.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
Once again, I have found a book for my special shelf of frequently used reference books that I keep within arms reach. This book starts with the Java library at the level of the package and then works down to the individual class level. I find such a reference absolutely essential and my copy of the original Java Developers Almanac has been used so often that the individual pages are falling out. I teach Java classes to experienced developers and I have always kept it at my side to answer those inevitable questions concerning prototypes and other methods available in a class.
The examples in this book make it more helpful than if it was just a listing of methods. While I can generally figure out how a method is used from the prototype, seeing it called in a plausible scenario generally reduces the time in going from bafflement to understanding. The book is also well indexed, so very little time is wasted in searching for the desired package or class.
I strongly recommend this book as a reference for the Java language, and it will appear on my list of top ten books of the year.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.