Dedicated to the principle that more is more, the massive Java: How to Program
, Third Edition, may just be the most comprehensive available textbook for Java. Suitable for both students and home study, this book offers an extremely thorough introduction to Java programming, including all major APIs.
The sheer size (and level of detail) presented here is undoubtedly its most impressive feature. Weighing in at over 1,300 pages, it features an almost endless trove of information with over 500 programming tips, over 1,000 summary points, over 900 programming exercises, and a whopping 5,000-plus entries in its index. This is clearly a textbook and reference for students who want to master the entire Java language. The authors present many challenging exercises and examples too, including numerous interesting graphics problems, a simulation for a simple CPU, a compiler (for the same), and an elevator simulation case study. (In all, there is certainly sufficient material in this book for two semesters of college work.)
Besides a full tour of all the fundamentals of Java, from basic statements to object-oriented design techniques, the authors also delve into more advanced APIs for servlets, JDBC, RMI, and JavaBeans. (Their guide to Swing components is also a standout here.)
While the richness of Java: How-To Program might intimidate some readers, for those who want to experience all the possibilities of Java, this book is a fine choice for a first textbook on introductory programming in Java. Its authoritative and far-ranging presentation can serve as a reliable and effective guide to the truly exciting world of Java development. --Richard Dragan
Topics covered: Basic Java, applets and applications, control structures, methods, arrays, object-oriented programming techniques, strings, graphics and Java2D, Swing user interfaces, exceptions, multithreading, multimedia, file I/O, JDBC and databases, servlets, RMI, networking, sockets, custom data structures and collections, and JavaBeans.
From the Inside Flap
New Features in Java How to Program: Third Edition
This edition contains many new features and enhancements including:
Updated to the new Java 2 platform. Uses Swing GUI components in all programs with graphical user interfaces. Simplified early chapters to make learning Java easier for nonprogrammers. Introduced GUI event handling later (Chapter 6, "Methods") so nonprogrammers have a foundation of basic programming concepts before seeing this complex topic. Switched the emphasis from applets to applications to demonstrate Java the way it is typically used in industry. Enhanced the coverage of interfaces. Enhanced the coverage of GUI event handling. Introduced inner classes and their use with GUI event handling. Added coverage of Java's new Java2D graphics capabilities. Added coverage of the Java Media Framework (JMF). Added chapters on Java Database Connectivity (JDBC), Servlets and Remote Method Invocation (RMI) crucial in building multitier client/server systems. Added a chapter on Collections Java's reusable data structures and the prepackaged algorithms for manipulating these data structures. Added a chapter on JavaBeans Java's reusable software component technology. Updated appendices on Java demos and Java Internet and Web resources. Added an appendix on javadoc (part of Sun's Java 2 Software Development Kit) the utility that creates HTML documentation from comments in a program. Added an appendix of Internet and Web resources for Enterprise JavaBeans. Added an appendix of Internet and Web resources for Jini.
Java How to Program: Third Edition includes:
16,485 Lines of Code in 220 Example Programs (with Program Outputs) 456 Illustrations/Figures 588 Programming Tips Summaries (1016 Summary bullets) Terminology Reviews (2295 Terms) 444 Self-Review Exercises and Answers (Count Includes Separate Parts) 959 Exercises (Solutions in Instructor's Manual; Count Includes Separate Parts) Approximately 5700 Index Entries (with approximately 9300 Page References) Software Included with Java How to Program: Third Edition
The CD-ROM at the end of this book contains Sun Microsystem's J2SDK 1.2.1 (i.e., Java 2) software development kit and two powerful Java integrated development environments (IDEs)-NetBeans DeveloperX2 and Borland JBuilder 3 University Edition. The CD also contains the book's examples and an HTML Web page with links to the Deitel & Associates, Inc. Web site, the Prentice Hall Web site and the many Web sites listed in the Appendices. If you have access to the Internet, this Web page can be loaded into your World Wide Web browser to give you quick access to all the resources.
NetBeans DeveloperX2 is a professional IDE written in Java that includes a graphical user interface designer, code editor, compiler, visual debugger and more. J2SDK 1.2.1 must be installed before installing DeveloperX2.
Borland JBuilder 3 University Edition is a customized version of JBuilder designed to meet the unique needs of the education market. The JBuilder 3 University Edition IDE includes an application browser, project manager, code editor, HTML viewer, graphical debugger and compiler. JBuilder 3 supports the latest Java standards, including Java 2, JavaBeans, JAR files, inner classes, internationalization, security and more.
If you have any questions about using this software, please read the introductory documentation on the CD-ROM. We will be putting additional information on our Web site: deitel.