Home > Java > javaTutorial > body text

What book should I use for advanced Java?

silencement
Release: 2019-05-30 17:10:21
Original
2333 people have browsed it

What book should I use for advanced Java?

The best way to learn is to read books. After we get started, we need to further improve ourselves to reach a new level. Here are a few essential books for advanced Java.

1. "In-depth Understanding of Java Virtual Machine: JVM Advanced Features and Best Practices"

Java virtual machine is a technology you must learn. The author of "In-depth Understanding of Java Virtual Machine: JVM Advanced Features and Best Practices" is Zhou Zhiming. This book can be said to be the best book about Java virtual machine written in China. In the past six months, I have at least read this book. 5 times. In addition to this book on virtual machines in China, there are actually some other books. I have also bought them, but at a rough glance, a lot of the content is also in the book "In-depth Understanding of Java Virtual Machine: JVM Advanced Features and Best Practices".

It is also worth mentioning that the book "In-depth Understanding of Java Virtual Machine: JVM Advanced Features and Best Practices" is available in electronic version and can be downloaded by searching online. However, it is recommended that interested friends buy the book and read it. The electronic version downloaded is usually an older version. Compared with the latest revised version of "In-depth Understanding of Java Virtual Machine: JVM Advanced Features and Best Practices", there are many new additions by the author. There is no knowledge point.

2. "HotSpot Practical Combat"

All Java virtual machines follow the Java virtual machine specifications. There are dozens of Java virtual machines on the market. The virtual machine discussed in the book "In-depth Understanding of Java Virtual Machine: JVM Advanced Features and Best Practices" is not aimed at a specific virtual machine, but explains the Java virtual machine from the perspective of Java virtual machine specifications.

Most of the Java virtual machines we usually use and even commercially use are Sun's HotSpot. You can see it by entering the command line with cmd and using the "java -version" command. If you want to have a more in-depth understanding of how some details of the virtual machine are implemented based on the Java virtual machine specifications, you can read the book "HotSpot Practice", written by Chen Tao. However, since the source code of HotSpot is written in C/C, readers are required to have a very good C/C foundation. If you are not very familiar with these two languages, reading this book may not be of great help to you.

Finally, if you are interested, you may wish to download an openJDK online first. The source code of HotSpot is in it.

3. "Java Multi-threaded Programming Core Technology"

This book is opposite to "Java Concurrent Programming Practice". The characteristic of this book is that the code is large and small. The length of the detailed explanation may be related to the pragmatic style of books written by Chinese people. This book explains thread safety, synchronized, Reentrant, Timer, etc. with detailed codes, and multiple small knowledge points under each big knowledge point are explained in detail, which is very practical value.

For those who are interested, I believe that as long as you follow the code in this book to type, run, and think about it in three steps, your use and understanding of multi-threading will definitely take a few big steps forward.

However, the shortcoming of this book is that it does not cover some classes under the Java concurrency package such as CountDownLatch, Semphore, CyclicBarrier, Future, Callable, etc. The key CAS and AQS are not touched on, and the implementation of key classes is not mentioned. The principle was not mentioned either. Of course, this is very in-depth. If you can continue to study and research on this knowledge after studying this book, you will slowly grow into a very powerful multi-threading master.


The above is the detailed content of What book should I use for advanced Java?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template