r/learnjava • u/caternoon • Sep 18 '19
r/learnjava • u/m0dev • Jul 28 '19
10 Best Java Books in 2019
Over the years, I came in contact with a lot of java books.
I think different people have different demands when it comes to learning a programming language.
Source: https://programmerfriend.com/best-java-books-2019/
Here the list in case you don't want to go to the page directly:
Clean Code: A Handbook of Agile Software
The Pragmatic Programmer
Effective Java
Refactoring
Java Concurrency in Practice
Test Driven
Head First Design Patterns
Head First Java
Release It!
Kotlin in Action
For absolute beginners, without knowledge of another programming language, I would definitely recommend Head First Java.
Since I try to improve the linked article - I am really curious what kind of resources did you use or would you recommend for learning Java or improving your programming skills in general?
r/learnjava • u/nitin_is_me • Jun 24 '26
Unpopular opinion: Java has one of the best docs in programming
They're not flashy, but whenever I look up something like CompletableFuture, ConcurrentHashMap, or ExecutorService, I usually find exactly what I need: what it does, how it works, its guarantees, and example usage. A lot of modern docs feel like tutorials or marketing. Java docs feel like actual technical documentation written for developers. Am I the only one who thinks Java docs get way more hate than they deserve?
r/learnjava • u/RazzmatazzOpening601 • Jun 02 '21
Any Java beginners looking to team up for projects ?
Hi, I’m new to Java but I think it would be an interesting learning experience if a group of us teamed up and worked on projects together.
We would decide on programs or apps we’d like to build and as a team gradually build these apps while acquiring valuable skills along the way.
If you’re interested in joining this project based group, post a comment below or message me directly to send you the invite.
r/learnjava • u/[deleted] • Nov 08 '20
Is there a site similar to CodeWars but to learn Java's API and other programming things rather than pure math algorithms?
I'm learning a lot thanks to CodeWars, but it's always about algorithms rather than Java's core...
r/learnjava • u/therosesgrave • Mar 20 '21
Oops, suddenly Java dev
Idk if this belongs here, maybe I just need to rant. I just kind of feel like I'm drowning.
A couple weeks ago my boss asked me if I had any Java experience and I said "...uh, yeah, a little" not knowing what he expected. My "experience" was a 100 level class in college 10 years ago. Turns out we (as a company, in this case it means me) are taking on the development work on one of our existing (for something else) client's web portal.
Things started out alright, the thing is already mostly built, there are just a bunch of issues. I've been stumbling through mostly by taking the existing code and Frankensteining it to do what I needed.
But I just learned that the dev (that is employed directly by the client) that built most of the thing and has been handling all the major issues will be moving to a new project in April, leaving me as the only dev on the project.
All the while my boss has been telling them (and mentioning to other clients/potential clients) that I'm a Java developer. I did some searching, and I'm being paid half as much as an entry level java dev in my area.
This is the first programming project I've ever worked on. I know enough about java to use some words like "object" and "class" and sometimes use them correctly.
So far I've been making it work. The tasks that have been needed haven't been that big, but pretty soon I'm sure they'll need something that I don't even know how to approach.
I don't know if I should be asking for a raise or just keep stumbling through this or if I should tell him now that I know we will reach a phase where I simply can't complete the work because I don't have the knowledge.
I guess I'm looking for resources on taking on an existing project? A web portal? Learning all of Java while inheriting a semi-complicated project?
And is there some threshold at which I should rightfully feel like a "Java Developer"? Like, at what point can I say "I am a Java developer and I should be paid as a Java developer"? Is there some certificate or test that I could get/prepare for? Is there a weekend bowling league?
Edit: Thanks everyone, you've been extremely supportive and have provided lots of useful guidance! I'm going to look into these courses you've all suggested and begin looking for other job offers at the very least so I can better ask for a raise at my current job.
My boss is aware that I don't have any real experience (even though he is lying by omission to our clients), so I'll just keep on keeping him aware of the tasks that I'm unable to complete without doing the research.
r/learnjava • u/systemsruminator • May 21 '21
Warning for anyone thinking of getting the Udacity Nanodegree for Java Developer
They say teach you how to make spring boot applications and will take u through the whole application development lifecycle. This simply could not be further away from the truth.
There are many modules where they don't even walk you through the code they have written. Most of the times instructor is like:- You can go through the code and see for yourselves. So they expect people to cough up 300$ to stare at a piece of code, smh.
It is one of the most superficial courses out there, simply not worth it.
Instead go to look for other courses on Udemy which are far more ind-depth and have a lot material that they cover, and most importantly code along with you. They actually will explain all the important nuts and bolts of the services you will write.
Shoot me any questions if you have, I will try to answer them.
r/learnjava • u/hanoian • Oct 14 '23
Rant.. I'm finding that Spring Boot / Java feels to magicky and keywordy, and everything has to be learned instead of logically solved. Annotations don't feel like programming. Is this really what people speak so highly of?
Coming from a world of PHP and JS, and having studied C and Java in uni, I'm finding Spring Boot to just be an exercise in frustration. It reminds be of Vue where you have to learn magic keywords to do anything instead of just programming in React.
In Express, you just write stuff for a web server that makes sense, but these annotations in Java are just arbitrary. Everything for the server and JPA are just rote-learned and I fail to see how this is an enjoyable developer experience. There are no transferable skills that I can find and I feel completely removed from any actual implementation of anything.
My problem really revolves around writing stuff like @Controller instead of extends or implements. Why is so much of the verbosity of Java and explicit polymorphism and inheritance and patterns etc. just invisible, well so far for me anyway. The verbosity of Java is its selling point, not something to be hidden away.
r/learnjava • u/rank_guru • Nov 09 '20
Spring Boot REST API Using JPA, Hibernate, MySQL Tutorial
Here I've explained how to develop Spring Boot REST API with MySQL database.
https://javatodev.com/spring-boot-mysql/
Technologies Stack Used,
Java 1.8
Spring Boot: 2.3.4.RELEASE
JPA
MySQL
Lombok
Gradle
Additionally REST API covered full CRUD including exposing multiple API endpoints.
Hope this article could help someone who is reading about Spring Boot.
r/learnjava • u/infosec_farmer • Jul 06 '20
Think more, write less
Getting away from the computer and going for a walk or a drive has really helped me when I get stuck. I'll go through what I need to do and the ways I've learned to do it. Then bam, I'm ready to charge into the problem when I'm back at the computer.
r/learnjava • u/konektor • May 14 '20
100% Free coupon for Practical Java Course: Zero to One
You can have free access to a course that has a beginner level now, but will be updated to a complete 5 level course, later. More info in the introduction video.
If you have some time, please rate the course and leave a feedback.
The coupon can be used in the next 3 days.
The coupon expires on: 17th May 8:28 PDT
https://www.udemy.com/course/practical-java-course/?couponCode=2020_MAY
r/learnjava • u/NoBake3354 • 5d ago
Java is Fantastic especially if you try it and stopped listening to internet memes.
Have a fantastic programming life 😎💯😁
r/learnjava • u/ibby20000 • Mar 01 '25
The Best Free Java Course Ever! Easy Setup Method (MOOC)
Hi everyone,
As a computer science grad who learned more from University of Helsinki's MOOC Java Programming course than my own university's entire 3 year course, I strongly recommend you look no further than this free course to learn Java. The only issue it has, is the stupid setup they suggest using NetBeans. Luckily there's a great workaround using VSCode and you can set the whole thing up in 5 minutes!
Here's a video to help you with this: https://www.youtube.com/watch?v=nXWFqdgyJQs
r/learnjava • u/Randomaak • Feb 07 '21
Website for practicing Java?
Im currently learning Java from MOOC, the exercises are good, but sometimes I would like to practice what I already know. I tried HackerRank but it's little bit confusing for me.
It doesn't need to be website, maybe some videos for practice or anything else.
Any recommendations?
r/learnjava • u/harry_cane69 • Apr 23 '19
MOOC saved my ass
This isnt a substantial post, it's more of an appreciation post. Doesnt seem to be against the rules. I just wanted to share my experience because I'm really really grateful for this course.
I'm a second semester CS student and two weeks before I literally couldnt program. We just had one programming class in first semester wich I skipped, and to my surprise (/s) this came back to bite me in my ass in second semester. Over the last week or so I spent about 6 - 10 hours every day doing the MOOC course, I'm in week 6 now and yesterday I helped a classmate with his assignment. It's so hilarious to me, before MOOC I was so far back, like start of first semester far back and now I'm helping this dude with his exercise.
What I learned from this goes far beyond java though. I finally experienced what it feels like to actually sit down and just power through ignorance. School always came very easy to me so I never really had to learn for it. And I was too lazy and too easily demotivated to learn anything else. I have literally never in my life before experienced what happens if you just put in 50 hours into something and then after that time look at what you have accomplished. It's kind of sad, but it's kind of a turning point too. I will remember this lesson for the rest of my life.
r/learnjava • u/Street_Humor_7861 • Mar 21 '26
Java's Objects class has methods that almost no one uses (but should).
I was reviewing the Java documentation and discovered several methods in the Objects class that I wasn't familiar with. I wanted to know which ones you use in your day-to-day work, and if there are any you consider underutilized.
I did a bit of research and found these, which seemed useful to me:
Objects.isNull()andObjects.nonNull()
Instead of doing this:
.filter(x -> x != null)You can use this:
.filter(Objects::nonNull)2. Objects.toString() with a default value
I used to do this:
String name = obj != null ? obj.toString() : "Unknown";Now I can do this:
String name = Objects.toString(obj, "Unknown");3. Objects.compare() — Null-safe
To compare objects that might be null:
Comparator<String> comp = Objects.compare(
str1,
str2,
Comparator.naturalOrder()
);4. Objects.checkIndex() (Java 9+)
Cleaner index validation:
Objects.checkIndex(index, list.size());5. Objects.requireNonNullElseGet()
Like requireNonNullElse, but with lazy evaluation:
Config config = Objects.requireNonNullElseGet(
getConfig(),
() -> loadDefaultConfig()
);6. Objects.deepEquals()
To compare arrays:
if (Objects.deepEquals(array1, array2)) {
// Compares content, not reference
}My question is: Do you use any of these methods regularly? Are there any other methods in the Objects class that you find useful but that few people seem to know about? Are there any you avoid using, and if so, why?
Thanks in advance!
r/learnjava • u/Low_Calligrapher2534 • Mar 26 '22
So, I just got hired as a Java Developer, what should I learn before my first day?
Hi, I'm not 100% sure if this belongs here, if it doesn't I can delete this post and ask on a different sub.
So, I just got hired as a Java Backend Developer for a big company and I'm not sure what I should be learning before I start (my first day will be April 4). I know Core Java, it's syntax, Collections, Streams. I also know how to build very basic REST APIs with Java Spring, relational and non-relational databases, a bit about Design Patterns (like Singleton, Strategy, Observer).
Is there something that I should learn before my first day there? I will be getting a 2 month training before starting on real projects, but I still want to know as much as possible before starting.
The company is a big E-Commerce and Fintech company that's probably the biggest tech company in Latin America. I don't know yet to which project I will be joining, I will know after finishing the 2 months training.
r/learnjava • u/[deleted] • Jul 09 '20
My first article for Oracle Java Magazine got published yesterday: "Getting started with JavaFX on Raspberry Pi"
The Raspberry Pi single-board computer is the ideal starting point if you want to experiment with electronic components. And if you can combine this inexpensive hardware with the software tools Java developers use every day, a new world opens for you. The first time I had a blinking LED controlled by Java was a true aha moment.
This article walks you through building a JavaFX dashboard-style application using Gerrit Grunwald’s TilesFX library.
Read the full article on https://blogs.oracle.com/javamagazine/getting-started-with-javafx-on-raspberry-pi
r/learnjava • u/radically_sane • Jul 23 '19
Jenkov's tutorial on java threading is really good.
Link: http://tutorials.jenkov.com/java-concurrency
Dropping this here to whoever might need this.
I went through a quiet a few of tutorials online and two books (Java CookBook and Java Networking) but most of them teach it in a bad way.
But this one is very thorough. It shows how the compiler interprets and runs threaded applications, which really helps build one's intuition around the concept. It's a really long read but worth it.
r/learnjava • u/Z3roGravityMind • Sep 27 '25
Java backend developer (4.5 yrs) — roadmap advice for Spring Boot, Hibernate, Microservices
Hi everyone, I’ve been working for 4.5 years mainly on Java (Web applications - backend, little touch on jsp, db with basic queries). My role didn’t involve modern frameworks, and I want to upskill and move into a stronger Java backend role.
I’m planning to switch jobs in the next 3–4 months and need clarity on what to focus on. From what I understand, I should cover:
Core Java refresh (Collections, Threads, Streams, Exception Handling)
Spring Boot (REST APIs, dependency injection, exception handling, profiles)
Hibernate/JPA (entity mapping, lazy vs eager loading, HQL)
Unit Testing (JUnit, Mockito)
Microservices basics (service registry, config server, Feign clients)
SQL (joins, subqueries, group by, window functions)
Git + Maven/Gradle + basic CI/CD awareness
For those working in Java backend roles, what would you recommend as a clear roadmap?
Which areas should I go deeper into first?
Are small Spring Boot + DB projects enough for interviews, or do I need larger microservices projects?
How much DSA/LeetCode is expected for non-Big Tech companies?
Any advice on structuring the next 3 months of prep would be amazing.
r/learnjava • u/Szahu • Nov 10 '21
I created an Open Source Java project to learn, and I invite everyone to join!
Hello, I created an Open Source Java project, which hopefully will become a 3D Rendering Engine at some point. My main motivation is learning Java by creating a challenge for myself. I want to invite everyone who is interested to join me in this project.
Even if you don't feel like you can contribute you are still more than welcome to try, even the smallest contributions count. If You have any ideas for the project please create an 'Issue', any ideas are welcome.
I have never participates in an Open Source project, so please forgive any mistakes I might or might have made in that regard.
Here's the GitHub Repository link.
Cheers!
r/learnjava • u/amrutesht • Apr 24 '20
Would like to use the quarantine to learn Advanced Java
I'm supposed to start working at a company that works primarily in Java, when this lockdown ends. They don't expect us to know advanced Java but I would like to learn. Especially the Spring framework. Any resources that you found useful are welcome
r/learnjava • u/vladadj • Jan 21 '21
Free courses on algorihtms by Princeton University
self.learnprogrammingr/learnjava • u/konektor • May 18 '20
100% Free coupon for Practical Java Course: Zero to One AGAIN
You can have free access to a course that has a beginner level now but will be updated to a complete 5 level course, later. More info in the introduction video.
If you have some time, please rate the course and leave feedback.
The coupon can be used in the next 3 days.
The coupon expires on: 21th May 5:05 AM PDT
https://www.udemy.com/course/practical-java-course/?couponCode=KNOCK_KNOCK