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
 
2.9

(based on 13 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (4)

54%

of respondents would recommend this to a friend.

Pros

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

Cons

    Best Uses

    • Intermediate (6)
    • Novice (4)
    • Student (4)
    • Expert (3)
      • Reviewer Profile:
      • Developer (10), Educator (3)

    Reviewed by 13 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

    (1 of 1 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 6 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.

      (0 of 3 customers found this review helpful)

       
      2.0

      A good manual but not the best

      By tribalia

      from Bucharest, Romania

      About Me Designer, Developer

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Easy to understand

      Cons

      • Not comprehensive enough

      Best Uses

      • Novice
      • Student

      Comments about oreilly Learning Java, 4th Edition:

      I was glad when I saw that the book has about 1000 pages. I have believed that covers everything. But I didn't find essential topics: databases, persistence, processing e-mails. The authors did not focus on polimorphism, defaultlistmodel, model, too much theorizing on web application topic instead of useful exemples.

      (1 of 1 customers found this review helpful)

       
      4.0

      This Book Get's You Up And Running

      By Thom Allen

      from Salt Lake City, UT

      About Me Developer

      Pros

      • Accurate
      • Easy to understand
      • Helpful examples

      Cons

        Best Uses

        • Intermediate
        • Novice

        Comments about oreilly Learning Java, 4th Edition:

        I'm new to Java, but am a long time developer. My expectations for this book were to give me a great base for understanding the basics of Java, give me some real world examples, and in the end have enough knowledge to create basic Java apps.

        I like the way this book is laid out, the examples used, and the instruction was easy to read and understand. I would highly recommend this book to anyone learning Java.

        (3 of 8 customers found this review helpful)

         
        1.0

        Confusing and shoddy

        By veryAnnoyed

        from London

        About Me Developer

        Verified Reviewer

        Pros

        • It's Awful
        • None

        Cons

        • Difficult to understand
        • Not comprehensive enough
        • Too many errors

        Best Uses

        • Intermediate

        Comments about oreilly Learning Java, 4th Edition:

        The book spends all of chapter 2 and Appendix A referring to a zip file of examples to be imported by (newbie) users of Eclipse.... problem is:

        THERE AINT NO ZIP FILE OF EXAMPLES!!

        Instead these are linked to (from the "shop. website - hey I paid for this already!) to github. There are no instructions for how to download the hundreds of examples from github and make the project run.

        I also get the "no main" error discussed below. I can't believe such a prestigious firm as OR would put their name to this bag of brown stuff.

        (8 of 8 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.

        (2 of 7 customers found this review helpful)

         
        1.0

        Example code

        By as

        from IRAN

        Verified Reviewer

        Comments about oreilly Learning Java, 4th Edition:

        example not working for me

        (5 of 5 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.

            (4 of 5 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 1 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.

                  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