جزییات کتاب
Sams Teach Yourself Java in 21 Days continues to be one of the most popular, best-selling Java tutorials on the market. Written by two expert technical writers, it has been acclaimed for its clear and personable writing, for its extensive use of examples, and for its logical and complete organization. This new edition of the book maintains and improves upon all these qualities, while updating, revising, and reorganizing the material to cover the latest developments in Java and to expand the book's coverage of core Java programming topics.Sun's new version of Java 2 Standard Edition—SDK version 1.4—is expected to be released by the end of 2001. According to Sun, version 1.4 builds upon Java's cross-platform support and security model with new features and functionality, enhanced performance and scalability, and improved reliability and serviceability.Amazon.com Review 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)