Learning Java and over one million other books are available for Amazon Kindle. Learn more

Kindle Edition
 
   
Have one to sell? Sell yours here
Learning Java, Second Edition
 
 
Start reading Learning Java on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Learning Java, Second Edition [Paperback]

Patrick Niemeyer (Author), Jonathan Knudsen (Author)
3.7 out of 5 stars  See all reviews (71 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $19.79  
Paperback $29.67  
Paperback, July 2002 --  
There is a newer edition of this item:
Learning Java Learning Java 3.7 out of 5 stars (71)
$29.67
In Stock.

Book Description

0596002858 978-0596002855 July 2002 Second Edition

Learning Java provides an accessible yet comprehensive introduction to the programming language that has changed the way we think about computing. Java has become the language of choice for a wide variety of applications: web services, secure network systems, XML-based tools, reusable components, and mission-critical enterprise systems. Learning Java is filled with easy-to-follow code examples that guide you through Java's many features, APIs, and facilities.

This new edition of Learning Java has been expanded and updated for Java 2 Standard Edition SDK 1.4. It comprehensively addresses important topics such as web applications, servlets, and XML that are increasingly driving enterprise applications. This edition provides full coverage of all Java 1.4 language features including assertions and exception chaining as well as new APIs such as regular expressions and NIO, the new I/O package. New Swing features and components are described along with updated coverage of the JavaBeans component architecture using the open source NetBeans IDE the latest information about Applets and the Java Plug-in for all major web browsers.

The accompanying CD-ROM provides all you need to start working with Java immediately. In addition to the many example programs from the book, the CD includes the complete J2SE SDK 1.4, the NetBeans IDE, the Jakarta Project's Ant make utility and Tomcat application server as well as BeanShell, a simple open source Java scripting language developed by author Pat Niemeyer.


Customers Who Bought This Item Also Bought


Editorial Reviews

Amazon.com Review

Java is the language du jour, and plenty of books have been written about it. But with so many books available, new offerings should be something special. This one isn't.

Learning Java starts at the beginning with a "hello world"-style program that demonstrates using Sun's Java tools. Throughout, the book introduces features using examples--all thoroughly discussed and explained in as straightforward and jargon-free a manner as practicable.

A tricky aspect of Java is the way classes are related, so it's neat to see a whole chapter devoted to the subject early on. Even more opaque is the explicit use of threads. Again, this topic is made accessible in this text, especially with its discussion of thread synchronization. Basic graphics, video handling, and other media in Java are discussed, followed by Beans and the builder environment--but stopping short of JavaBeans. The book finishes with a section on applets, the Java plug-in, and digital signatures.

Overall, however, the reader gets no feeling of working toward a goal, and perhaps this would have been a better book if a project had been its theme. Another odd decision in the mix here was to ignore the several--some free--Java IDEs generally used to program Java. (The book makes a point of saying it hasn't discussed them but doesn't explain. Even beginners find Java more accessible in a programming environment.)

Still, Learning Java, which uses Java 2 v1.3, does a competent job of introducing the language to beginners. As with most O'Reilly books, it's authoritative, lucid, and well edited. Though this book may fail to inspire in the reader the presumed enthusiasm for Java felt by the authors, you won't go wrong with this one, and its coverage of object-oriented programming issues is particularly good. --Steve Patient, Amazon.co.uk --This text refers to an out of print or unavailable edition of this title.

Review

'Finally, for new Java programmers, and those wanting to update to 1.3, Niemer is excellent.' UNIXNT, July/August 2000 --This text refers to an out of print or unavailable edition of this title.

Product Details

  • Paperback: 826 pages
  • Publisher: O'Reilly Media; Second Edition edition (July 2002)
  • Language: English
  • ISBN-10: 0596002858
  • ISBN-13: 978-0596002855
  • Product Dimensions: 9.2 x 7.1 x 1.5 inches
  • Shipping Weight: 2.6 pounds
  • Average Customer Review: 3.7 out of 5 stars  See all reviews (71 customer reviews)
  • Amazon Best Sellers Rank: #1,394,443 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

71 Reviews
5 star:
 (27)
4 star:
 (18)
3 star:
 (13)
2 star:
 (5)
1 star:
 (8)
 
 
 
 
 
Average Customer Review
3.7 out of 5 stars (71 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

69 of 74 people found the following review helpful:
2.0 out of 5 stars Not a tutorial and not for new programmers, October 19, 2002
By 
This review is from: Learning Java, Second Edition (Paperback)
I had purchased "Learning Java" out of the conviction that some patience and thought was all that was needed to make sense of the book. "Learning Perl" (also published by O'Reilly) had a somewhat steep but manageable learning curve-I thought "Learning Java" would be more of the same. Unfortunately, I found "Learning Java" to be a disappointment. The book begins by creating a simple "Hello, Java!" pop-up box along with brief explanations of the basic concepts of Java (class, methods, etc). The book, however, then gives an overview of syntax and tools with no practice exercises. The book essentially went like this: "This is what a class is. This is what a method is. This is what an exception is." And so on. The book spends a few paragraphs describing many important concepts of Java without adequate examples and no practice exercises. The author's organization and presentation of the materials made the book more of a dictionary than a tutorial.

Don't get me wrong, the book does provide an excellent overview of Java's history and heritage. It also serves as a handy (but incomplete) reference, although "Java in a Nutshell" is a much more complete reference. However, like some reviewers, I believe that the title was a bit misleading for those wanting to actually learn to program in Java. This book is not for someone new to programming. "Learning Java" is actually more like an overview or tour of Java that introduces the program's features and tools. It is not a tutorial.

My recommendation: See if you can get a hold of "Learning Java" and take a look at a few chapters. If you like the author's approach (and several reviewers did), then by all means purchase the book. I was originally going to recommend that only those with C or C++ programming experience give the book a try, but I've noticed several reviewers with such experience giving the book a poor review. If you are looking for a tutorial, try the deceptively named but excellent "Teach Yourself Java in 21 Days" by Laura Lemay.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


17 of 17 people found the following review helpful:
4.0 out of 5 stars A very good book but not for beginners, September 21, 2000
By 
"kalibjon" (Rochester, NY) - See all my reviews
Learning Java by O'Reilly is an excellent book for someone who already knows the basics of programming(i.e - knows about syntax, decision statements, and a cursory understanding of objects). However, as a teaching tool in a classroom this book does not cover in depth the basic ins and outs of a language that would really hit home the concepts necessary to a learn how to program or to use java for a beginner.

Now from a professionals point of view or an college students point of view(I am both being an Engineer at RIT which has a coop program which is rotating work and school in your chosen field every quarter after your second year) this book gives a good explantion of the advanced topics such as Applets, Remote Method Invocation, sending seroalized objects, web programming, threads and a couple of others. So if you are looking to expand your programming base with a completely portable language this is the book for you or if you just want to get the background of the power house tools of Java this book is also for you!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


20 of 22 people found the following review helpful:
5.0 out of 5 stars Suitable for experienced readers, January 30, 2003
By 
This review is from: Learning Java, Second Edition (Paperback)
I have experience in C but not C++. Prior to this I tried to read Eckel's thinking in java which I found to be overly pedantic and at times, irritating (with many exercises trying to display arcane syntactic or semantic points). In comparison this book is very refreshing and I feel I am learning new stuff really easily.

This book is dense but motivates using simple code. Explanations may not be complete (esp in Chap 2) but really this is a good compromise.

This is definitely for someone with a background in programming (preferably in C or C++). Ideally one should have a programmers editor on and keep trying the code snippets as one reads (which is why the online version at safari.orielly.com is handy). So, in a sense, this book is not for the uninititated. But for those who have some exposure this is well worth the money and effort.

The author also has a useful open source tool (BeanShell) which suggests some depth.

Some Tips for readers new to java on windows:

1. Download and install jdk 1.4.x
2. Get a simple programmers editor (editplus.com for example)
3. Get Jikes compiler as a replacement for javac (copy it to the jdk bin directory) as its really fast and use it to compile within the editor.
4. Make sure your classpath and path variables are set properly. The former could include the jdk jre/lib/rt.jar and . the current directory; the latter could include the jdk bin dir. in XP these can be set using the controlpanel advanced setting for environment variables

Once you can experiment with the code as you read, it becomes more interesting.

I would say the book deserves at least 4 stars; I am giving it a 5 to offset some really low ratings :-)

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse and search another edition of this book.
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
wildcard instantiation, unbounded wildcard, type conversion characters, nio package, interest ops, concurrency package, shadowed variables, unchecked warning, default security manager, anonymous inner class, javap command, wscompile tool, web services container, enclosing instance, int cycles, regex engine, wildcard type, clipping shape, raw type, untrusted applets, static imports, visibility modifiers, runnable object, enum class, layout manager
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Thu May, Java Web Start, Song Fang, Sun's Java, Buffered Image, Pat Niemeyer, Sat Mar, Collections Framework, Connection Wizard, Description Example, Java Media Framework, Sun Microsystems, Giant Panda, Ship Date, Abstract Window Toolkit, Des Moines, Extensible Stylesheet Language, Java Advanced Imaging, Java Sound, Microsoft Internet Explorer, Specify Target Operation, Sun Dec, Basking Ridge, Card Layout, Case Study
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:




What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(247)
(30)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject