BN.com Gift Guide

Beginning Java 2: JDK 1.3 Version

Overview

A second edition Beginning Java title is now required because: In quarter one, 2000, Sun will release version 1.3 of their Java Developers Kit (JDK 1.3). This is significant because: The fastest Java platform performance ever is now available for download, and is coming to your mailbox from America Online (AOL), thanks to an agreement between Sun and AOL to deliver the Java Runtime Environment on the AOL 5.0 CD-ROM. The newest version of J2SE technology, v 1.3, will deliver momentous performance gains and ...
See more details below
This Paperback (JDK 1.3 ED) is Not Available through BN.com
Note: This is a bargain book and quantities are limited. Bargain books are new but may have slight markings from the publisher and/or stickers showing their discounted price. More about bargain books
Sending request ...

Overview

A second edition Beginning Java title is now required because: In quarter one, 2000, Sun will release version 1.3 of their Java Developers Kit (JDK 1.3). This is significant because: The fastest Java platform performance ever is now available for download, and is coming to your mailbox from America Online (AOL), thanks to an agreement between Sun and AOL to deliver the Java Runtime Environment on the AOL 5.0 CD-ROM. The newest version of J2SE technology, v 1.3, will deliver momentous performance gains and improved Web deployment for enterprise-grade, client-side applications. And just about everything else developers have been asking for:

Client-side users now enjoy the speed advantage of the new Java HotSpot compiler which has been tuned for client performance. The result is much faster thread handling, improved scalability and rapid memory allocation for objects, smaller RAM footprint, and the platform has gained a much more efficient garbage collector. All of these enhancements spell speed for the desktop user. For Graphical User Interface (GUI) performance, the Java Foundation Classes and Swing libraries have been super-tuned to enhance scrolling speed. The GUI components that developers use to create tables and frames for their applications have also been improved.

Online discussion of the topics in this book available at Wrox's P2P site.

This book is a fast paced and comprehensive tutorial introduction to application development using Java. It is ideal for novice Java programmers who have some previous programming exposure and are able to run with the fast pace. Almost all new entrants to Java are coming from previous programming experience.

About the Author:
After countless years in the computer industry both doing and managing, Ivor has taken up writing on programming topics for relaxation.

When not relaxing, he takes an interest in cosmology, cacti, chaos and cameras, and does a little editing of other people's efforts on the side.

Read More Show Less

Editorial Reviews

From Barnes & Noble
From the Author:

Ivor Horton on Java

1) What has been the biggest development within the Java Community in the last 12 months?

It's hard to single out one development as being the biggest - there have been so many. For me I see the confirmation and reinforcement of Java as a major application development tool. This derives from several recent advances in Java technology:

  • the functionality provided by Java 2
  • the layered structuring of the Java development environments from the Enterprise Edition down through the Standard Edition to the Micro Edition.
  • the continuing general improvement in Java execution performance

2) What are the advantages working with Java, as opposed to working with other technologies?

I would pick three major advantages that I believe Java offers over other programming technologies:

  • The write-once run anywhere capability that is implicit in Java. The same code will run under Windows 98/NT, Solaris, Unix in a variety of flavors including Linux, plus mainframe operating systems. No other programming technology offers this.
  • A programming language with virtually none of the 'gotchas' of apparently (and superficially) similar object-oriented languages.
  • A set of coherent class libraries that span a truly remarkable spectrum of application function - supporting text, graphics, image processing, sound, networking, plus many others. I'm not sure there is an equivalent in any other context, and definitely not for free.
3) What is the fundamental difference between JDK 1.2 and JDK 1.3?

While there is a whole range of incremental improvements to the capabilities that already exist in JDK 1.2, the Sound API is a major step change in functionality. You now have in JDK 1.3 a comprehensive facility for recording and replaying sounds in a wide variety of audio formats. It also provides you with extensive support for MIDI including a software synthesizer. Of course, the Sound API underpins the Java Media Framework, too.

Read More Show Less

Product Details

  • ISBN-13: 9780641571138
  • Publisher: Wrox Press, Inc.
  • Publication date: 3/1/2000
  • Series: Programmer to Programmer Series
  • Edition description: JDK 1.3 ED
  • Pages: 1268
  • Product dimensions: 7.54 (w) x 9.02 (h) x 2.61 (d)

Meet the Author


After countless years in the computer industry both doing and managing, Ivor has taken up writing on programming topics for relaxation.

When not relaxing, he takes an interest in cosmology, cacti, chaos and cameras, and does a little editing of other people's efforts on the side.

Read More Show Less

Read an Excerpt


Chapter 1: Introducing Java

This chapter will give you an appreciation of what the Java language is all about. Understanding the details that we'll introduce in this chapter is not important at this stage; you will see all of them again in greater depth in later chapters of the book. The intent of this chapter is to introduce you to the general ideas that underpin what we'll be covering through the rest of the book, as well as the contexts in which ,Java programs can be used and the kind of program that is applicable in each context.

In this chapter you will learn:

  • The basic characteristics of the Java language.
  • How Java programs work on your computer.
  • Why Java programs are portable between different computers.
  • The basic ideas behind object-oriented programming.
  • How a simple Java program looks and how you can run it using the Java Development Kit.
  • What HTML is and how it is used to include ajava program in a Web page.

What is Java All About?

Java is an innovative programming language that is becoming the language of choice for programs that need to run on a variety of different computer systems. First of all Java enables you to write small programs called applets. These are programs that you can embed in Internet Web pages to provide some intelligence. They might simply display an animated logo, or support data entry of some kind. Java also allows you to write large-scale application programs that you can run normally on any computer that supports the language. You can even write programs that will work both as ordinary applications and as applets. Java has matured immensely over the past couple of years, particularly with the introduction of Java 2. The breadth of capability provided by the standard core Java has grown incredibly, with the latest release extending into sampled sound and MIDI data processing.

Being able to embed executable code in a Web page introduces a vast range of exciting possibilities. Instead of being a passive presentation of text and graphics, a Web page can be interactive in any way that you want. You can include animations, games, interactive transaction processing - the possibilities are almost unlimited.

Of course, embedding program code in a Web page creates special security requirements. As an Internet user accessing a page with embedded Java code, you need to be confident that it will not do anything that might interfere with the operation of your computer, or damage the data you have on your system. This implies that execution of the embedded code must be controlled in such a way that it will prevent accidental damage to your computer environment, as well as ensure that any Java code that was created with malicious intent is effectively inhibited. Java implicitly incorporates measures to minimize the possibility of such occurrences arising with a Java applet.

Aside from its ability to create programs that can be embedded in a Web page, perhaps the most important characteristic of Java is that it was designed from the outset to be machine independent. Java programs can run unchanged on any computer that supports Java. Of course there is still the slim possibility of the odd glitch as you are ultimately dependent on the implementation of Java on any particular machine, but Java programs are intrinsically more portable than programs written in other languages. An interactive application written in Java will only require a single set of source code, regardless of the number of different computer platforms on which it is run. In any other programming language, the application will frequently require the source code to be tailored to accommodate different computer environments, particularly if there is an extensive graphical user interface involved.

Possibly the next most important characteristic of Java is that it is object oriented. The object-oriented approach to programming is also an implicit feature of all Java programs, so we will be looking at what this implies later in this chapter. Not only is Java object oriented, but it also manages to avoid many of the difficulties and complications that are inherent in some other object-oriented languages, making it very straightforward and easy to learn.

Learning Java

Java is not difficult, but there is a great deal to it. The language itself is fairly compact, but very powerful. To be able to program effectively in Java, however, you also need to understand the libraries that go with the language, and these are very extensive. In this book, the sequence in which you learn how the language works, and how you apply it, has been carefully structured so that you can gain expertise and confidence with programming in Java through a relatively easy and painless process. As far as possible, each chapter avoids the use of things you haven't learnt about already. A consequence, though, is that you won't be writing Java to be embedded in Web pages right away. While it may be an appealing idea, this would be a bit like learning to swim by jumping in the pool at the deep end. Generally speaking, there is good evidence that by starting in the shallow end of the pool and learning how to float before you try to swim, the chance of drowning is minimized, and there is a high expectation that you will end up a competent swimmer...

Read More Show Less

Table of Contents

Chapter 1: Introducing Java
Chapter 2: Programs, Data, Variables and Calculation
Chapter 3: Loops and Logic
Chapter 4: Arrays and Strings
Chapter 5: Defining Classes
Chapter 6: Extending Classes and Inheritance
Chapter 7: Exceptions
Chapter 8: Streams, Files and Stream Output
Chapter 9: Stream Input and Object Streams
Chapter 10: Utility Classes
Chapter 11: Threads
Chapter 12: Creating Windows
Chapter 13: Handling Events
Chapter 14: Drawing in a Window
Chapter 15: Extending the GUI
Chapter 16: Filing and Printing Documents
Chapter 17: Images and Animation
Chapter 18: Sound
Chapter 19: Talking to Databases
Chapter 20: The JDBC in Action
Appendix A: Setting Up
Appendix B: Java Archives - JAR Files
Appendix C: Creating Java Documentation
Appendix D: Keywords
Appendix E: ASCII Codes
Appendix F: Computer Arithmetic
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 8 Customer Reviews
  • Anonymous

    Posted March 6, 2003

    A Great Book for Java Beginners

    I wanted to learn Java, and I bought this book. It is great. I am a Microsoft Certified Professional with Visual Basic 6.0, so I am not new to programming. This is an awesome book, and I will definetely keep it for a reference. I couldn't ask for a better beginner book for Java.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 17, 2001

    Very Useful Beginner Guide To Java

    Great writter and a great book. In depth explanation of all the foundation classes in java and their varied uses.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 11, 2001

    Good value for your money

    A serious programming (Java) approach for beginners. However, most of the examples used are either unrealistic or just plain petty. Hence, you still don't get to appreciate the power of this language.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 26, 2000

    Great book for learning Java!

    I have been programming with Visual Basic for 5 years and I did not know any Java at all. I have found that although it seems to be a slow starting book it gives you an excellent foundation and builds on what you have learned in each chapter. If you want to learn Java by yourself then I really recommend this book, I have to learn Java for my job and so far this has been the best learning aid I have found. The explanations are clear and the examples are great and add to your understanding of the language.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 23, 2000

    The book of all books

    This book is great for beginners who really want to learn Java 2. It's very clear and it has great examples. This book is a bit wordy, but its all worth it. Ivor Horton is a great author and I strongly suggest you buy this book. I've read many Java books, and this book is surely the Java 2 Bible.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 14, 2000

    GREAT BOOK

    I have read several Java books. This one is by far the best. This book covers more material, more clearly then any other book that I have seen. I have read other Ivor Horton books, including the Beginning C++ and Beginnig Visual C++ books. All of them are exceptional and would recommend them to anyone. These books are very good for people who really want to learn a programming language and not just a few flashy things to put on a web page.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 11, 2000

    (New to Java and Computers)

    I just started working with Java AND computers. I'm finding the book extremely useful, not only with the language, but also with the download,install, and placement of files in the JDK. It's very thorough, which may be boring for an experienced programmer, but is great for an unseasoned beginner like myself.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 25, 1999

    Good for Beginners with no experience in programming

    This Book teaches you step-by-step how to program in JAVA. If you have experience in C,C++ or VB you may find this book boring. I did. I would recomend another book if you have experience in programming.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 8 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)