What do you think?
Rate this book
In The Complete Reference, Eighth Edition, bestselling programming author Herb Schildt shows you everything you need to develop, compile, debug, and run Java programs. Updated for Java Platform, Standard Edition 7 (Java SE 7), this comprehensive volume covers the entire Java language, including its syntax, keywords, and fundamental programming principles. You'll also find information on key elements of the Java API library. JavaBeans, servlets, applets, and Swing are examined and real-world examples demonstrate Java in action. In addition, new Java SE 7 features such as try-with-resources, strings in switch, type inference with the diamond operator, NIO.2, and the Fork/Join Framework are discussed in detail.
Coverage
Data types and operators Control statements Classes and objects Constructors and methods Method overloading and overriding Interfaces and packages Inheritance Exception handling Generics Autoboxing Enumerations Annotations The try-with-resources statement Varargs Multithreading The I/O classes Networking The Collections Framework Applets and servlets JavaBeans AWT and Swing The Concurrent API Much, much more1926 pages, Kindle Edition
First published December 14, 2004
What I didn't like:
1) Brief modules coverage, but these is another specialized book about them on the market.
2) Unclear and rushed nio2 discussion.
3) File watcher only mentioned in a single sentence in the end of the chapter. Need to go online for examples and documentation.
4) Explore more yourself about lambdas. This book discusses functional interface and briefly rushes through such an important topic. Again, there are specialized books about this matter.
5) Poor new network coverage. Cookies and sessions skipped completely.
6) Poor coverage of java.function, just a table with interfaces and advice to explore it myself.
7) Mysterious Security Manager and exceptions thrown by it appears throughout the book. (Anyway it's already deprecated in newer Java versions)
8) Several words about Classloader. If you need/want to understand about it and find usage patterns, go to oracle documentation.
9) Only single paragraph about logging. Expected at least a page. How to initialize a logger, where to initialize and call it, should it be a singleton and static, in main method or somewhere else?
10) Websockets, asynchronous http is not covered at all.
11) Pretty basic java.time coverage. Not a single word about comparison or Duration.
Reference is not as complete as I've expected. I still need to grab my laptop, go online and find documentation and examples about lots of stuff.
I don't expect detailed examples and discussion of best practices, but I want that everything related to Java and its standard library is mentioned with a brief explanation what it is, where and why to use it and a simple example.
Author makes assumptions throughout the book that something is too complicated or specialized and the reader won't be using it. Yet, sometimes it's expected from java developers to know about such "rare" stuff and it's use cases.
I agree that deep and detailed coverage of most topics are out of the scope of this book, but from a complete reference I expect at least basic mention. There is a class in the package, here it's methods, here basic example of usage. Not a single sentence somewhere in the middle of the 1000+ pages.
In the ideal complete reference I see more diagrams displaying packages/modules structure and classes/interfaces hierarchy. It would be extremely useful.
GUI chapters (events, awt) and III part (Swing) gives solid but too basic introduction to GUI programming. It was like reading several blog posts for novice. After that, I opened oracle documentation on Swing with StackOverflow and stayed there for several weeks while developing simple pet project.
Summary:
Got mixed feelings about the book. It helped me to sort things out about Java in a week or two, but I have several years of experience programming in different languages (Python, Go, JS). Maybe for novice it would be more useful. I used two packs of color stickers to mark important things, yet I doubt I will return to this book.