Core Java 2: Volume I Fundamentals

Core Java 2: Volume I Fundamentals

by Cay S. Horstmann, Gary Cornell
     
 

View All Available Formats & Editions

  • The experienced developer's guide to Java programming—now fully updated for JDK 1.3
  • Completely revised coverage of object-oriented development and Swing classes
  • More of the robust code examples professional programmers need
  • CD-ROM includes all source code, J2SE Version 1.3, Forte for Java Community Edition, and much more!
See more details below

Overview

  • The experienced developer's guide to Java programming—now fully updated for JDK 1.3
  • Completely revised coverage of object-oriented development and Swing classes
  • More of the robust code examples professional programmers need
  • CD-ROM includes all source code, J2SE Version 1.3, Forte for Java Community Edition, and much more!

Raves for the previous edition!

"Devoid of shaky, academic examples and packed with robust demonstrations that illustrate hundreds of powerful concepts ...The authors back up the many examples with sharp, fact-rich commentary on how to get things done with Java."

—David Wall, Amazon.com

The best-selling guide for serious Java 2 programmers—fully updated for JDK 1.3!

Ask any experienced Java programmer: Core Java delivers the real-world guidance you need to accomplish even the most challenging tasks. That's why it's been an international best seller for five straight years. Core Java 2, Volume 1 covers the fundamentals of Java 2, Standard Edition, Version 1.3 and includes completely revised discussions of object-oriented Java development, enhanced coverage of Swing user interface components, and much more.

This new fifth edition delivers even more of the robust, real-world programs previous editions are famous for—updated to reflect deployment and performance enhancements. Volume 1 includes thorough explanations of inner classes, dynamic proxy classes, exception handling, debugging, the Java event model, Input/Output, file management, and much more. For experienced programmers, Core Java 2, Volume 1:Fundamentals sets the standard—again!

State-of-the-art information for Java developers, including:

  • Building GUI applications with Swing classes
  • Making the most of dynamic proxy classes and inner classes
  • Mastering the Java event model
  • Understanding Java streams and file management

About the CD-ROM

CD-ROM contains complete source code examples, the Java 2, Standard Edition, Version 1.3 SDK, and useful tools, including Forte for Java, Community Edition, a complete toolset for Java application development, TextPad 4.32, HexWorkshop 3.1, WinZip 8.0, Together J, and SourceAgain.

Read More

Product Details

ISBN-13:
9780130894687
Publisher:
Prentice Hall Professional Technical Reference
Publication date:
12/18/2000
Series:
Core Series
Edition description:
Older Edition
Pages:
832
Product dimensions:
7.04(w) x 9.21(h) x 2.16(d)

Read an Excerpt

PREFACE:

To the Reader

In late 1995, the Java programming language burst onto the Internet scene and gained instant celebrity status. The promise of Java is that it will become the universal glue that connects users with information, whether that information comes from Web servers, databases, information providers, and any other imaginable source. Indeed Java is in a unique position to fulfill this promise. It is an extremely solidly engineered language that has gained acceptance by all major vendors, except for Microsoft. Its built-in security and safety features are reassuring both to programmers and to the users of Java programs. Java even has built-in support that makes advanced programming tasks, such as network programming, database connectivity, and multithreading, straightforward.

Since then, Sun Microsystems has released four major revisions of the Java Software Development Kit. Version 1.02, released in 1996, supported database connectivity and distributed objects. Version 1.1, released in 1997, added a robust event model, internationalization, and the Java Beans component model. Version 1.2, released at the end of 1998, has numerous enhancements, but one major improvement stands out: the "Swing" user interface toolkit that finally allows programmers to write truly portable GUI applications. Version 1.3, released in the spring of 2000, delivered many incremental improvements.

The book you have in your hand is the first volume of the fifth edition of the Core Java book. Each time, the book followed the release of the Java development kit as quickly as possible, and each time, we rewrote the book to take advantage of thenewest Java features.

As with the previous editions of this book, we still target serious programmers who want to put Java to work on real projects. We still guarantee no nervous text or dancing tooth-shaped characters. We think of you, our reader, as a programmer with a solid background in a programming language. But you do not need to know C++ or object-oriented programming. Based on the responses we have received to the earlier editions of this book, we remain confident that experienced Visual Basic, C, or COBOL programmers will have no trouble with this book. (You don't even need any experience in building graphical user interfaces in Windows, Unix, or the Macintosh.)

What we do is assume you want to:

  • Write real code to solve real problems

and

  • Don't like books filled with toy examples (such as kitchen appliances or fruit trees).

You will find lots of sample code on the accompanying CD that demonstrates almost every language and library feature that we discuss. We kept the sample programs purposefully simple to focus on the major points, but, for the most part, they aren't fake and they don't cut corners. They should make good starting points for your own code.

We assume you are willing, even eager, to learn about all the advanced features that Java puts at your disposal. For example, we give you a detailed treatment of:

  • Object-oriented programming
  • Reflection and proxies
  • Interfaces and inner classes
  • The event listener model
  • Graphical user interface design with the Swing UI toolkit
  • Exception handling
  • Stream input/output and object serialization

We still don't spend much time on the fun but less serious kind of Java programs whose sole purpose is to liven up your Web page. There are quite a few sources for this kind of material already—we recommend John Pew's book Instant Java, also published by Sun Microsystems Press/Prentice Hall.

Finally, with the explosive growth of the Java class library, a one-volume treatment of all the features of Java that serious programmers need to know is no longer possible. Hence, we decided to break the book up into two volumes. The first volume, which you hold in your hands, concentrates on the fundamental concepts of the Java language, along with the basics of user-interface programming. The second volume goes further into the enterprise features and advanced user-interface programming. It includes detailed discussions of:

  • Multithreading
  • Network programming
  • Distributed objects
  • Collection classes
  • Databases
  • Advanced graphics
  • Advanced GUI components
  • Internationalization
  • Native methods
  • JavaBeans

When writing a book, errors and inaccuracies are inevitable. We'd very much like to know about them. But, of course, we'd prefer to learn about each of them only once. We have put up a list of frequently asked questions, bugs fixes, and workarounds in a Web page at ...

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >