Amazon.com
Some of the best sources for learning Java are online.
The Java Tutorial, Second Edition is an updated compilation of online resources from the JavaSoft Web site, edited for clarity. This guide gives you the advantage of having all you need to learn Java in one book (and includes a CD-ROM).
The authors organize the book's sections around lessons and "trails" (which correspond to online tutorials). Beginners will find the sections on running simple Java applications and applets and on the nuts and bolts of the Java programming language especially useful. However, there is plenty of expertise here for the Java expert. (Because this is all "official" JavaSoft material, it gives excellent perspective on the ideal use of Java--100 percent pure programming that runs on all hardware platforms.) For example, the sections on using the JavaStream classes present some hard-to-find material on memory streams and pipes.
Additional topics discuss how to get around the basics of creating user interfaces with AWT classes (though this is less useful because most programmers will use a Java compiler that handles the details of inner classes and adapters for them). Chapters on graphics programming benefit both beginners and experts and include a great explanation of image filters and animation techniques.
Some of the niftiest stuff in The Java Tutorial is presented in the sections on network programming in Java, with a clear explanation of reading and writing to URLs and working with sockets. (These capabilities are all built in to Java, and this tutorial shows you how to execute them.) The book finishes up with a discussion of new features in JDK 1.2--still under development--and with the printed source code for all the examples in the book. This book makes a good argument that print still has its advantages. You'd spend hours digging up the relevant tutorials online. --Richard V. Dragan
Book Description
Follow your own path to expertise with this self-guided tour of the Java programming language. Written by two members of the JavaSoft team at Sun Microsystems, the book employs a hands-on interactive approach to teaching Java basics, object-oriented concepts, applet programming, and everything else you need to know to become a proficient Java programmer.
Through a task-oriented, example-driven approach, The Java Tutorial introduces you to fundamental concepts and applications. Designed so that you can customize your own path through the specific information you need, the book explains the nuts and bolts of the language, applet construction, and the fundamental Java classes. You will also learn about more advanced topics such as creating a graphical user interface (GUI), using multiple threads, and working with Java's networking capabilities.
This Second Edition has been extensively updated to cover API changes in Java 1.1 regarding UI, networking, and I/O, and to include the latest Java language developments. New and updated material includes:
* broadcasting to other applications via a multicast socket * new I/O features, including character streams and object serialization * the latest developments in applet tags * using the 1.1 AWT event system * new language features, such as nested classes * tips for writing 100% Pure Java programs * updating 1.0 programs to use the 1.1 API
In addition, the Second Edition has been revised and reorganized to offer a stronger and more cohesive presentation, making this best-selling and award-winning book even better. The Tutorial now starts with a new lesson that introduces you to the Java phenomenon and provides a foundation for understanding the rest of the book.
The accompanying CD-ROM contains the Tutorial and all its code samples, versions of the Java Development Kit (JDK) and the JDK documentation for each major platform, a 1.1-compatible version of the Swing/JFC package of GUI components, and the HotJava Browser. The CD version of the Tutorial is a browser-friendly version that includes information not found in this book, such as draft lessons on internationalizing Java programs, calling non-Java libraries from Java programs, using the security API, developing JavaBeans components, and using the GUI components in the Swing/JFC package.
See all Editorial Reviews