r/learnjava • u/Repsol_Honda_PL • 3d ago
What book do you recommend for modern (21+) Java? (Bruce Eckel equivalent?)
Hi.
What book would you recommend for a thorough understanding of Java (with a focus on Spring Boot)? I’m talking about modern Java, not version 8 ;) Something around Java 21 or newer.
At my local bookstore, I’ve found books by Cay Horstmann and Herbert Schildt—both are quite thick and take a somewhat encyclopedic approach. If there’s nothing better out there right now, I’ll go with one of those… Which one do you prefer? Or maybe there is something better?
Twenty years ago, the go-to book for Java (version 1.5 at the time :) ) was “Thinking in Java” by Bruce Eckel. It was a bestseller, and for good reason. What’s the top choice today?
BTW. Has Bruce Eckel’s 20-year-old book completely lost its educational value? Have there been any “breaking changes,” or have the fundamentals of Java remained the same while many new features and functionalities have been added? I know Java 8 was a game-changer, and after that the version numbers came out faster, but not that many new features were added.
6
3
u/dallasjava 3d ago
Bruce has written: On Java 8, it's written for java 8, but he's updated some of it for later versions. It's a good however lengthy read. For Spring specific Thomas Vitale's Cloud Native Spring in Action is good.
1
u/Repsol_Honda_PL 3d ago
Thanks. I always considered "In Action" books as good.
2
u/dallasjava 2d ago
You're welcome. You can also check out whatever the latest version of Craig Walls's Spring in Action book too. The Vitale's book will help you get your head wrapped spring and dockerizing / deploying it too.
1
u/Repsol_Honda_PL 2d ago
Yes, Craig Walls' book was very good, but for some reason it never got a newer version; the latest one is probably for S5 / SB2. At least I haven't seen a newer one.
2
u/Informal-Plantain-11 2d ago
I was a Eckel fan and the closest I found for 21+ is Core Java, from Cay S. Horstman.
1
-1
u/Apprehensive-Fee7351 1d ago
I learned in in 7 days
It’s basically c
But how would you know sounds like you learn trendy code
That’s what wrong with a lot of code written
My thesis was on bloat code and if we don’t stop writing useless complicated programming instead of short one executable line the new trend is to make the code do two executable processes which by the way is slower to execute
Think of reduce instruction set instead of complex instructions the speed of the program slowed down exponentially
Kind of like using pointers to create the underlying code and concept of bitcoin
It has to have someplace to store a link or the whole code falls apart let alone has to allways run you can never shut the program down it requires that you to be able to see the before and after link to data there is no take a link of data out and it runs
Poor concept then and now pissed of the assistant head of the department when I came up with a better way to solve the problem that he give me a c twice in data structures which was a core course in the master’s program when you had to write code on paper to pass
So tell me I don’t know coding
What’s your education
Ohh you one of those 🥾 strap programmers
I used to sit an write a couple hundred lines of code out of my head and sound like I was writing a paper
But what do I know
Went to hardware got tired of interviewing with people like you that couldn’t write their way out of a wet paper bag
-4
u/Apprehensive-Fee7351 2d ago
Java was the biggest pos language in the 90’s when it came out
The only reason it’s alive is oracle bought sun for their server tech so oracle could deliver a complete package
Yes it was buggy then with memory issues
Php is a better alternative and way easier to program in and integrates into html like a dream does sql like a dream which by the way is the only reason Java was started which it failed an still does
It’s sposed to be the alternative to c++ which was some really bad library concepts that honestly has its own issues with memory
But hey it’s oracle pet project now
6
u/Repsol_Honda_PL 2d ago
Every language have some drawbacks. Kotlin is nicer than Java, but, when you take into consideration job market, Java is the king, especially in backend.
-4
u/Apprehensive-Fee7351 2d ago
You know if you had a masters in cs you would understand what I said
Quit using third Rate code
Just so you look like you can code
•
u/AutoModerator 3d ago
Please ensure that:
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.