Disclosure: This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article.
Hello guys, today, I am going to share some of the best Java books from the last couple of years that you can read now to learn Java and related technology better. These are the books, I have also read in the last few years. So, if you don't find your favorite book on this list don't get disappointed, I may not have read it, but just drop a note, I'll love to add into my reading list.
This list includes books to learn Java 8, Java 9, Spring 5, Groovy, Scala, Hibernate, Spring, Agile, Scrum, Microservices, Algorithms, and other important stuff for Java developers. You don't need to read all of the books --- this list will give you some ideas about interesting books on the things you want to learn --- but if you are a nerd like me and have some time to read books, particularly during a commute, then this is quite an interesting list to follow.
Here is my list of 20 books I read in last a couple of years, and you can very well read them this year, too. Effective Java 3rd Editionshould be the first one you read today, but if you do get free time, you can use this list to pick up a book or two.
This is one of my favorite books from 2016. I have been reading this regularly throughout 2017 while learning JDK 8 features. If you haven't read it yet or have yet to start with JDK 8, this year is a good time to read this book. If you need tutorials on Java 8, you can also check out the list of my favorite Java 8 tutorials here.
The book will teach you all the modern way to code in Java like lambdas, Stream, functional programming as well as reactive programming. Though, if you prefer online courses than books, I suggest you take a look at The Complete Java MasterClass course on Udemy, which was recently updated for Java 11.
This is one of the best books I discovered lately. I am a big fan of Uncle Bob's writing, having read Clean Code and The Clean Coder already. These books talk more about getting your architecture right. It's a one-of-a-kind book, and if you want to learn the pros and cons of different software architecture, this is the book to read.
This is another great book I read this book last year and probably the best book on Algorithms. Even though it's very short in terms of its coverage of algorithms and data structures, what is covered is very entertaining and useful.
It gives new life to old concepts by correlating with modern day examples, like how Facebook might store its users.
Btw, if your goal is to learn Data Structures and Algorithms then I also suggest you join a comprehensive online course like Data Structures and Algorithms: Deep Dive Using Java on Udemy
In short, it's one of the must-read books for beginners who want to learn algorithms this year. And if you need more suggestions, check out my list of here.
Everyone is talking about microservices, but what are they? What is the main benefit of microservices architectures over monolithic ones? This book answers all of those questions. I have to yet to finish the book, so I am going to read it this year as well well.
One thing many programmers ignore is soft skills, like email writing, focusing on career growth, and improving themselves. This is a great book from John Sonmez and if you feel that you are stuck in your career or want to give it a boost this year, this is the book you should read.
One of the oldest, but best books on database design out there, I love to find a good, old book that is still relevant. If you are interested in learning database design or want to improve your database modeling, this provides a good starting point. If you need more recommendations, please see my full list of database design books here.
Last year, I got a chance to work with Groovy a little bit, and this was the first book I read to learn it. If you decide to learn Groovy this year, this book provides a good foundation from a Java programmer's perspective. It gives you just enough information to bring you up to speed without giving you unnecessary details that you might not understand at the start.
This was the second book I read on Groovy in 2017. Even though Making Java Groovy is good to start with, it's not comprehensive, and once you learn the basics of Groovy and write a couple of Groovy scripts, you need more detailed information. That's where this book rocks. If you are learning Groovy then you can refer to this book.
This is one of the books I enjoyed least, but I still found it very useful. I have yet to finish with this one, but if you have to go deep into TCP/IP, this is the book to read.
Last year, I had to write a couple of UML diagrams, and this is the book I readto refresh my knowledge about UML. If you decide to learn UML now, you can check out this book, too.
This is one of the most useful Java books from 2017 written by fellow blogger [Thorben Janssen] This book provides 70 practical tips for Hibernate. If you use Hibernate, then these tips are good to fill your knowledge gaps. and if you decide to learn to Hibernate this year, you can use this book to give your knowledge a new dimension. Btw, if you like online courses, here is a list of some good Hibernate and JPA courses.
I have been using Agile for quite some time, but I still like to read books on Agile to refresh my knowledge and learn one or two new things. This one turned out to be a good book on Agile, and even regular users of Agile can learn a thing or two from this book.
If you like courses, you can check out these free Agile and Scrum courses.
I played the role of Scrum Master in 2017, and this was the book I read to get myself ready for the role. Scrum works great with small, onshore team, but it gets tricky when you need to manage a big team remotely, scattered around the world.
This book provides all the tools and guidance you need to run Scrum meetings and how to become a Scrum Master. If you desire to become Scrum Master this year, this is the book you should read and if you like courses, you can check out these free Agile and Scrum courses.
I have read a couple of Java performance tuning books in the past, like The Definitive Guide to Java Performance, so I wasn't expecting much. My only goal was to learn about the G1 garbage collection, which I learned from this book. If your focus is on Java performance tuning, this book is a good starting point.
This was another book I highly recommend to people mastering Hibernate. It's another great book on Hibernate, focused on performance by @vlad Mihalcea. If you are serious about improving your knowledge about Hibernate, I suggest you read both Hibernate Tips and this book.
In case you like, Vlad also has a couple ofhigh performance hibernate training coursesfor experienced developers.
I tried to get my hands dirty with Scala last year, but without much success. I read a book or two but didn't do enough practice to really learn Scala. One reason for that was that I wasn't using it on any of my projects, and there were more important things to focus on.
Anyway, if you decide to focus on functional programming and Scala this year, you can check out this book. I might read it again if time permits.
This is one more book on Scala that I looked at in 2017. I am a big of Cay S. Horstmann's writing, having read his books like Core Java Part I and II and Java SE 8 for the Really Impatient.
This is a similar book that focuses on Scala. If you are learning Scala, this is the good book to start with, but if you like online courses you can also use these free courses to learn Scala.
SQL is my favorite technology, and I am always looking for an interesting book on SQL. I found this one last year and I am very happy to share it with you all as well.
This is a very hands-on book on SQL that teaches you a lot of nice tips about using SQL in different databases.
Read this book now if you want to improve your SQL skills. You can also use these free courses to learn SQL queries to further improve your SQL knowledge.
Last but not least, this is a great book for every software developer. If you are serious about your career and want to take control of it, this is the book you should read. John Sonmez explains a lot of practical stuff in this book and Soft skills which I shared earlier.
That's all about the top 20 books you can read this year. I have read even more, but I am only listing these 20 for your reference. If you have any other interesting book of last a couple of years which could be in this list then feel free to suggest them in response, I'll then add them into this list to create a real mega list of books for Java Programmers.
Other Java and Programming Articles you may like
10 Things Java and Web Developer Should Learn
10 Testing Tools Java Developers Should Know
5 Frameworks Java Developers Should Learn
Finally, Java has var to declare Local Variables
10 Tools Java Developers uses in their day-to-day work
10 Data Structure and Algorithms Courses for Interviews
10 Tips to become a better Java developer
The Complete DevOps RoadMap --- Your Guide to become DevOps Engineer
Thanks for reading this article so far. If you like these books then please share with your friends and colleagues. If you have any feedback or suggestion then please drop a note. If you like, you can also follow javarevisited on twitter.
P. S. - The book contains my special links, so if you buy any book on this list I will be get paid a small amount with no additional cost to you. Also the book recommendations is based upon my personal learning and likened. Please go through sample chapters to see if you like the book or not and only buy if you connect to author.