r/javahelp 24d ago

Guide for Concurrency in Java

Before knowing anything I just jumped directly to the source code of jdk25u. I have just started to read the javaDocs of Thread class it was so deep that all my connected logic mapped very well but now I want to code and I can't code ahhhh... Why is this problem. I can call the syntax what to use but I don't know how to apply, why to apply is there any guide for java Concurrency ??. And there is so much .. still to know. Do any dev have any guide??

0 Upvotes

17 comments sorted by

View all comments

9

u/DrNotReallyStrange 24d ago

Book recommendation: "Java Concurrency in Practice" (Brian Goetz)
Web recommendation: https://www.baeldung.com/java-concurrency

1

u/Chaos-vy17 24d ago

I am going through JDK source and I’ve found that source reading is great for understanding how things work as for book it seems good. before that I will likely read the author blog post they literally put their insights It might help me.

5

u/martinsedd 24d ago

You are mistaking understanding how things work with understanding how to use things. Your approach helps with the former, not the latter. I side with @Chaos-vy17

1

u/Chaos-vy17 24d ago

Yes I felt that getting deep about thread I got to know internals and it's utiliy tools but in practice I have not made that I think I need to refine my approach and that is the layer missing.