Make your own free website on
 Java Reference @ Java Programming
 Programming Network : The Programmer Store & Resources
|  ASP.NET  |  HTML / DHTML  |  Java / JavaScript  |  Perl  |  PHP  |  Python  |  XML  |
Java Index - Java Reference Book :

Java Programmer Reference :
Sams Teach Yourself Java 2 in 21 Days, Professional Reference Edition

Sams Teach Yourself Java 2 in 21 Days, Professional Reference Edition (2nd Edition)
Check price @

Sams Teach Yourself Java 2 in 21 Days, Professional Reference Edition (2nd Edition)
by Laura Lemay, Rogers Cadenhead

Hardcover: 816 pages
Dimensions (in inches): 2.08 x 9.66 x 7.72
Publisher: Sams
ISBN: 0672320614; 2nd edition (May 21, 2001) Newly revised for some of the latest Sun JDK 1.3 standards, the second edition of Sams Teach Yourself Java 2 in 21 Days provides a refreshingly compact and useful tour of Java suitable for anyone who wants to master this powerful programming language quickly.

Currently, Java has some 2,000 classes and over 24,000 methods and properties. Instead of covering a laundry list of features, this book concentrates on what's really important, and keeps your attention with short, clever examples, many of which use names and examples drawn from pop culture or historical trivia.

The first week of lessons in the book comprises an easily digestible tutorial on basic Java, with review questions and exercises that will help you start using it on your own. Next comes a tour of the various options for building user interfaces in today's Java, including Swing applets and applications. In addition to basic component programming, you'll learn graphics using the new Java 2D API. (The older Abstract Windowing Toolkit, AWT, isn't covered.) Material on threading, animation, and sound helps you explore Java's multimedia capabilities.

The third and final week of lessons addresses advanced Java APIs and features that extend the reach of Java on the enterprise. After delving into more advanced class design, the book looks at topics like I/O streams in Java and Object Serialization (which allows objects to work with streams). Chapters on security and basic networking (illustrated using a server that generates trivia questions for clients) will let you work with Java on the Internet. The book closes with a chapter on database programming with JDBC. (There's also coverage of the older JDK 1.0 collection classes, which is a little surprising given the book's focus on newer Java 2 standards.)

All in all, Sams Teach Yourself Java 2 in 21 Days provides an efficiently packaged tutorial for learning Java, one that will be appreciated by any beginning Java programmer. The sheer number of classes and APIs in today's Java can be overwhelming. The intelligent and concise series of lessons in this book will help jump-start your knowledge. --Richard Dragan

Topics covered:
• Overview and history of Java
• Introduction to objects
• Class inheritance
• Tutorial for basic Java (including data types and keywords, flow control, and working with objects)
• Arrays
• Basic Java applications
• Methods and constructors
• Introduction to Java applets
• Building Swing user interfaces (basic component types, layout managers, and event processing)
• Java 2D graphics (drawing basic shapes, text output, and fonts)
• Using threads for animation
• Loading and displaying images
• Java Sound (including MIDI files)
• Advanced class design (interfaces, packages, advanced method options)
• Exception handling and security
• Signing JAR files
• File and stream I/O in Java
• Object Serialization and reflection
• Remote Method Invocation (RMI)
• Java networking basics (sockets and servers)
• Building custom UI components with JavaBeans
• Database programming with JDBC
• JDK 1.0 collection classes
• References on the Sun JDK 1.3 (including installation)

From Book News, Inc.: New edition of a tutorial that sets forth fundamental skills and then moves on the more advanced techniques and concepts, for beginning through intermediate programmers. The authors are seasoned writers on Web development topics.Book News, Inc., Portland, OR

Book Description: Sams Teach Yourself Java in 21 Days continues to be the most popular, best-selling Java tutorial on the market. It has been acclaimed for its clear and personable writing, for its extensive use of examples, and for its logical and complete organization. The third edition of the book maintains and improves upon all these qualities while updating the material to cover the latest developments in the Java language - such as using Java Foundation Classes, Java 2D Classes, and JavaBeans.

Book Info: A complete guide to the latest features of Java 2 with practical examples, covering both Java 2 and Java 1.02 event-handling systems. Step-by-step lessons to learning Java 2 in 21 days.

From the Back Cover: Sams Teach Yourself Java in 21 Days continues to be one of the most popular, best-selling Java tutorials on the market. It has been acclaimed for its clear and personable writing, for its extensive use of examples, and for its logical and complete organization. The Professional Reference Edition of the book includes an extra seven chapters covering advanced topics like object serialization, remote method invocation, accessibility, security, JavaBeans, JDBC, and advanced data structures as well as a 200-page reference section detailing the most commonly used aspects of the Java language. This edition of the book has been updated and revised to cover version 1.3 of the Java 2 Standard Edition SDK, and the book's CD-ROM includes a fully functional Java compiler, as well as the book's source code and a collection of third-party Java development tools and utilities.

About the Author: Rodgers Caldenhead is a writer and Web publisher who has written 10 books on Internet-related topics, including Sams Teach Yourself Java 2 in 24 Hours and Sams Teach Yourself Microsoft FrontPage 2000 in 24 Hours, but not Sams Teach Yourself to Tell Time in 10 Minutes. He maintains this book's official Web site at java21pro/.

Laura Lemay is a technical writer and author. After spending six years writing software documentation for various computer companies in Silicon Valley, she decided that writing books would be much more fun. In her spare time, she collects computers, email addresses, interesting hair colors, and non-running motorcycles. She is also the perpetrator of Sams Teach Yourself Web Publishing with HTML in a Week and Sams Teach Yourself Perl in 21 Days.

Customer Reviews
Good book for Beginner / Intermediate Programmers, January 10, 2000
Reviewer: Edward Welling from St. Petersburg, Florida

I have a limited programming background, having completed a couple VB6 courses, and I have some background in C, HTML, and SQL. I'm just now starting my first C++ course. Having had VB prior really helped to prepare me with the object basics, methods, classes, components, and events. I was truly able to understand 99% of the book, including the code examples. Some of the syntax was not explained adequately, but if you do not let it bog you down, most of it you will understand by the time you finish the book.

There were alot of calls made to Java methods which are not explained, but the J-Builder v2.01 software which came with my book has a very useful online reference section(go to Help-Java Reference). This reference has an index where you can look up the class heirarchies, descriptions, syntax and usage of all methods and constructors, and much more (Examples of each method and other simple code samples would be nice, though).

Most of the book's code samples were challenging enough to be interesting and just long enough to illustrate the concept. There were a number of errors, many of which you can be forewarned about at the book's website. The author encourages personal email questions, but he sends back an automated message saying it will be a few weeks before he can get to your question.

I liked that the code samples only had a very limited amount of comment statements, but the author goes over the new concepts in the code line-per-line in the text. For me, the first (7) chapters were the hardest and seemed to cover the essential code basics and object/class concepts, but after that I really felt the material got easier and had a nice flow to it.

A well-organised tutorial to get you up to speed in Java, February 18, 2000
Reviewer: Rohan Parkes from Melbourne, Australia

I found most of the content in the negative reviews here bewildering. To take some examples:
"The code doesn't compile" - yes it does.

"They teach you deprecated code" - yes they do. This is because if you want to write applets, you have to use deprecated code. This is reiterated frequently throughout the applet section. They also teach you Java 2 code.

"They don't explain the examples" - yes they do, often giving line-by-line explanations. There are a couple of early examples that use yet-to-be-explained code, but they tell you this (it would be impossible to write functioning code with all you learned in day 1).

"They don't build on a foundation" - yes they do. The class concept is clearly explained, then the syntax, data types, then you move onto applet writing.

I suspect most of the negative contributors here are merely venting their frustration.

My only problem with this type of book is that it is unrealistically titled - you will only get through it in 21 days if you don't have a day job, don't take notes, and dont' revise.

Other than that, it was one of the better tutorials in this series.

A very good book for beginners, January 7, 2002
Reviewer: A reader from OH United States

If you want to get into learning Java 2, as quickly as possible, this is a very good book to start with. It has a "no nonsense" and basic approach. This book gives good groundwork for further study.

Recommended for beginner., December 28, 2001

A very good first book for J2 beginner. You may start learning Java 2 v1.3 from this book. Some previous Object Oriented Programming experience like C++ may help for faster understanding but not absolutely necessary.

Book Subjects
Java Beginner's Guides
Java Reference
Java Servlets
Java Certification Central
Visual J++
Computer Graphics / Games: Photoshop Wire | CorelDRAW Wire | PC Games
Graphing Calculators | Shop 4 Calculator
© 2017, Programming Network