Java is one of the most popular programming language nowadays. There are plenty of books for beginners. But to those who have programmed with Java for a while, some of them may look somehow simple and redundant. The beginner's books do not bring fresh and interesting ideas. However, advanced Java books are not always right at hand, not partially because they require more skills, experienced, and deep thinkers to write.
In this post, I would like to share my experience with only advanced level of Java, which means books like "Thinking in Java" or "Head First Java" won't be listed although they are very good for beginners. Also I try to avoid listing Java books for specific software or frameworks or certifications, which I assume is not "pure" Java.
Java in a Nutshell
It is a more reference than a must read.
This book is really only for deeper understanding Java developer. It brings together seventy-eight indispensable programmer’s rules of thumb: working, best-practice solutions for the programming challenges you encounter every day.
The elements of Java style
It is directed at anyone who writes Java code, by furnishing a set of rules for Java practitioners, by offering a collection of standards, conventions, and guidelines for writing solid Java code, and by illustrating how to write solid Java code that will be easy to understand, maintain, and enhance.
Java Concurrency in Practice
This is one of the hardest things to get right.
Design patterns: elements of reusableobject-oriented software
Actually, examples in this book were written in C++ or smalltalk, but so what? If you want to grow as a developer, you have know Design Patterns, to take advantages of the best practices and experience of others, and learn from those who have face the same problems. There are many other similar books, but they are just doing patching work.
The Pragmatic Programmer: From Journeyman to Master
Again, it is not a book for Java developer only. "The cool thing about this book is that it's great for keeping the programming process fresh. The book helps you to continue to grow and clearly comes from people who have been there."
Patterns of Enterprise Application Architecture
You may have learned design patterns, but not sure how they are used in enterprise frameworks. This book explains common enterprise design patterns.
Refactoring: Improving the Design of Existing Code
If you have programmed for years, you will find this book definitely worth to read. Refactoring can make code more readable and easier to maintain.
OSGi in Action: Creating Modular Applications in Java
For more or less, it is good to know service oriented programming. The first several chapters of this book can give you a nice introduction and concrete examples.
Clean Code: A Handbook of Agile Software Craftsmanship
Last but not least, it is always good to review your coding style. 90% of effort will be spent on maintenance, it is extremely important to make clean code.
Update: Of course there are other nice books for advanced Java developers. If you think any other book should be here, please leave your comment. I will combine them later here.
A little advertisement for myself. This book is a collection of popular blog posts from ProgramCreek.
If you want to post code, please put the code inside <pre> and </pre> tags.