Learning Java, 4th Edition
Publisher: O'Reilly Media
Final Release Date: June 2013
Pages: 1010

Java is the preferred language for many of today’s leading-edge technologies—everything from smartphones and game consoles to robots, massive enterprise systems, and supercomputers. If you’re new to Java, the fourth edition of this bestselling guide provides an example-driven introduction to the latest language features and APIs in Java 6 and 7. Advanced Java developers will be able to take a deep dive into areas such as concurrency and JVM enhancements.

You’ll learn powerful new ways to manage resources and exceptions in your applications, and quickly get up to speed on Java’s new concurrency utilities, and APIs for web services and XML. You’ll also find an updated tutorial on how to get started with the Eclipse IDE, and a brand-new introduction to database access in Java.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning Java, 4th Edition
 
3.4

(based on 11 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (2)

60%

of respondents would recommend this to a friend.

Pros

  • Well-written (5)
  • Easy to understand (4)
  • Accurate (3)

Cons

No Cons

Best Uses

  • Intermediate (5)
  • Expert (3)
  • Novice (3)
  • Student (3)
    • Reviewer Profile:
    • Developer (9), Educator (3), Sys admin (3)

Reviewed by 11 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

(1 of 1 customers found this review helpful)

 
5.0

Really a good reference

By k1

from Taipei, Taiwan

About Me Developer

Verified Buyer

Pros

  • Accurate
  • Easy to understand
  • Well-written

Cons

    Best Uses

    • Intermediate

    Comments about oreilly Learning Java, 4th Edition:

    I've been left world of Java for several years and am looking for a book that is "not so beginning nor too complicate" to bring me back, and I found this book works well for me. It doesn't talk about too trivial things but does mention what important in Java platform in detail. It's suitable for one that has some experience in another language.

    (2 of 5 customers found this review helpful)

     
    2.0

    Frustrated

    By NaplesDave

    from Naples, FL

    About Me Developer, Sys Admin

    Verified Buyer

    Pros

    • It Is Thick

    Cons

    • Many Errors Right Away

    Best Uses

    • Novice
    • Reference

    Comments about oreilly Learning Java, 4th Edition:

    I can't believe that even in the forth edition that the links for the code download site don't work. Then the installation instructions for the code, when you do locate it on the web are confusing or incorrect as well. So the book will get your steam up before you even finish chapter 2. And don't expect the errata site to help you either. I can't believe that O'Reilly isn't all over this. If you want help on this book or its contents you can only depend on GOOGLE and other suffers.

    (2 of 2 customers found this review helpful)

     
    5.0

    Perfect!

    By AlbXD

    from Capo di Ponte, Italy

    Comments about oreilly Learning Java, 4th Edition:

    The perfect book to learn the Java Programming Language! Buy this! The example code are easy to import if you follow the instruction in the book!

    (2 of 8 customers found this review helpful)

     
    1.0

    Only for advanced programmers?

    By Sandy

    from Vallejo, CA

    About Me Educator

    Pros

      Cons

      • Too Vague On Essentials

      Best Uses

      • Expert

      Comments about oreilly Learning Java, 4th Edition:

      Although written in a charming style, this book is of little value for the intermediate programmer. I started out in FORTRAN then moved to Basic and eventually Visual Basic. I liked Basic a lot but wanted to take advantage of Java's internet capabilities. From the beginning, with the absurd problems getting the example code promised in Ch. 2, I found this book frustrating. From other reviews, it seems advanced programmers are happy enough. But I have had to read and re-read Chapters 1-7 over and over, and could not even get something as simple as subclasses to work. Without example code, it is impossible to put this text into practice. I have found example code elsewhere, including Java Tutorials, and have made good progress, but very little of the credit goes to Learning Java.

      (15 of 15 customers found this review helpful)

       
      5.0

      For experience Programmers new to Java

      By non-traditional

      from Mountain View, CA

      About Me Developer, Educator, Maker

      Pros

      • Accurate
      • Concise
      • Efficient
      • Well-written

      Cons

      • Not for beginners
      • Preachy

      Best Uses

      • Expert
      • Intermediate
      • Student

      Comments about oreilly Learning Java, 4th Edition:

      What a rare and wonderful find!

      I'm a developer at a top-tier SV tech company with a non-traditional background. As a result, I'm proficient in JavaScript, Ruby, Scheme and Objective C, but not Java. Frustratingly, nearly every Java book I looked at prior to this one was filled with the basics of programming as well as Java.

      For anyone out there who can code and want to learn Java without being subjected to page after page about what variables, if statements and loops are, this is your book. Sadly, I think by that very fact, it's taken a beating in the reviews. A lot of the negative comments here look like they're from people who really should have had a true beginner's book like the Head First one. It's true that the book could do a little bit more at the very, very beginning to help with the setup. But this book has been a huge time saver and exactly what I needed. It's quality is top notch. My biggest complaint actually is that the writer is a Java zealot who breathlessly tries to convince the reader of its merits vs other programming languages.

      If your background is similar to mine, buy it.

      (6 of 7 customers found this review helpful)

       
      1.0

      Sample Code / Examples Broken--DON'T BUY

      By jfx

      from Singapore

      About Me Developer

      Verified Reviewer

      Pros

        Cons

        • Sample Code Broken
        • Too many errors

        Best Uses

          Comments about oreilly Learning Java, 4th Edition:

          As mentioned by other posters, the instructions to set up the development environment and run the sample code are broken and result in errors that will just confound the beginning user of Eclipse.

          The instructions for setting up the environment don't match the archives that are on the download site; the files that are on the download site don't work if you follow the instructions...

          I followed the book's directions to a T... and the files they specify are not there.

          I tried to improvise (for a couple hours) with the files that were there--and all I got was errors.

          Don't worry, it's not you... it's the book and the samples download page.

          Until this is fixed, I suggest that the target audience (those with little or no experience in Java / Eclipse) avoid this book; it's frustrating from the starting block and progress in learning will be stunted due to the fact that you can't run the examples.

          (5 of 6 customers found this review helpful)

           
          2.0

          Example code does't run in eclipse

          By GeoffRussell

          from Australia

          About Me Developer

          Pros

            Cons

              Best Uses

                Comments about oreilly Learning Java, 4th Edition:

                I can't comment on the book yet because I've spent 2 hours trying to make the example code run in eclipse. If I type it in, it runs, but when I import it, nothing runs: "Selection does not contain main type" ... but it does. An experienced eclipse user spent 20 minutes patching the code for me to make it run in eclipse. Some issue with the way the directories are packaged in the zip file. But that shouldn't be necessary.

                Currently, I'm stuck in chapter 2 and really really frustrated.

                Ubuntu 12.04.3 LTS jdk1.7

                (0 of 2 customers found this review helpful)

                 
                4.0

                Comprehensive all-rounder in Java

                By Dozza

                from Sydney, Australia

                About Me Developer

                Verified Reviewer

                Pros

                • Helpful examples
                • Well-rounded
                • Well-written

                Cons

                • Not Basic Enough

                Best Uses

                • Expert
                • Intermediate

                Comments about oreilly Learning Java, 4th Edition:

                So the 4th edition of Learning Java, by Patrick Niemeyer Et. Al is a book that I wouldn't recommend for novice, and especially me, having not touched Java since my Bachelor's degree, I had to do a lot of researching in various areas, this book covers quite a broad spectrum of Java, and is used quite well as a reference book, from Swing and various Graphics APIs to Web Sockets.

                The book is generally easy to digest, if you have a sufficient Java background, but my thirst for learning more is still there, this book however does provide a good platform to start from. The book begins by explaining what Java is, and outlining the goals of creating your first Hello world app, then in subsequent chapters dealing with Java Compiler, the Java VM, before embarking on the basics of Java development, dealing from Statements to Exceptions and Classes and Methods.

                Chapter 6 then moves to more advanced OOP concepts, such as subclassing and interfaces, and method permissions. with the chapters after dealing more with Generics and Reflection. I found Threads to be a more complicated area, and Chapter 9 deals with synchronisation and prioritisation concepts, before the book begins to look at specific areas such as File Access, Utility Classes before getting to Networking in Chapter 13, and the Web in Chapter 14. I found those chapters to be quite satisfying for an introduction to web dev, as well as the final chapter which dealt with XML programming.

                Overall I recommend this book for those of us who are looking to get back into the swing of Java, although the book is quite thick, its definitely a worthy read. I will continue my Java mastery through various other more advanced books, but this book for me is a great refresher.

                (2 of 2 customers found this review helpful)

                 
                3.0

                Great resource to get you started

                By Thom Allen

                from West Jordan, UT

                About Me Developer

                Verified Reviewer

                Pros

                • Easy to understand
                • Helpful examples

                Cons

                  Best Uses

                  • Novice
                  • Student

                  Comments about oreilly Learning Java, 4th Edition:

                  This is a pretty decent book. I'm new to Java but have an extensive development background.

                  I appreciated the exercises and examples. The only thing I really struggled with was Eclipse. I haven't used Eclipse in the past and so there was a steep learning curve for me.

                  I think this is a great book to get a decent understanding of the basics of Java. I will need a different book as a guide as I dive deeper into Java.

                  (7 of 7 customers found this review helpful)

                   
                  4.0

                  If you only 1 Learning Java book..

                  By JavaJunkie

                  from Toronto, Ca

                  About Me Developer, Sys Admin

                  Pros

                  • Accurate
                  • Easy to understand
                  • Well-written

                  Cons

                    Best Uses

                    • Intermediate

                    Comments about oreilly Learning Java, 4th Edition:

                    I have owned pretty well every edition of "Learning Java" By Patrick Niemeyer, Daniel Leuck published by O'Reilly. I still use and update this book. every second edition it seems... Though not a true "Introductory to programming" book -- it covers the essence of Java quite well.

                    My work reference book shelf is still packed with dead-tree pictures of various O'Reilly animals peeking at me, and I find that as the
                    "Cloud" become more and more of our development lives it seems Java along with Linux has won the battle for language / OS supremacy.

                    Although I have over 30 years of programming experience - ranging from 6502 Assembly, X86 assembler, Basic, Pascal, Turing, Fortran F-77, C, C++, LISP, Objective-C, Java and Erlang - I find I keep referring to Java more and more as the cloud evolves.

                    i will not go through the Table of Contents in detail - bit suffice to say, Learning Java is more than an introduction to a programming Language - it doubles as a generic reference and guide to the evolution of Java. Java has grown from 250 classes when I started with it in 1995 or so to over 2500 now.

                    Chapters 14,"Programming the Web" through to 17 on Swing are updated from edition 3 and quite relevant still for enterprise dev's.

                    The appendix on Eclipse is useful though a bit brief - and probably best for you to refer to the Eclipse doc's directly for more direct functional configuration information.

                    All in all I still rate this as a "4 stars" book and highly recommend it -- especially for advanced students and developers experienced in other languages looking for a decent reference.

                    Displaying reviews 1-10

                    Back to top

                    Previous | Next »

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Ebook:  $41.99
                    Formats:  DAISY, ePub, Mobi, PDF
                    Print & Ebook:  $54.99
                    Print:  $49.99