Jump to ratings and reviews
Rate this book

Java 2 in 21 dagen

Rate this book
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)

680 pages, Paperback

First published January 1, 2000

2 people are currently reading
6 people want to read

About the author

Rogers Cadenhead

64 books8 followers
Rogers Cadenhead is a ServiceNow developer who has created applications in insurance and customer service. He is also the author of more than a dozen books on computer programming and web publishing, including the Sams Teach Yourself Java in 21 Days series, and the chairman of the RSS Advisory Board, the group that publishes the RSS 2.0 specification.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (10%)
4 stars
2 (20%)
3 stars
5 (50%)
2 stars
1 (10%)
1 star
1 (10%)
Displaying 1 of 1 review
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.