r/learnjava • • Feb 16 '25

What makes Spring Boot so important?

135 Upvotes

I have been getting into Java during my free time for like a month or two now and I really love it. I can say that I find it more enjoyable and fascinating than any language I have tried so far and every day I am learning something new. But one thing that I still haven't figured out properly is Spring

Wherever I go and whichever forum or conversation I stumble upon, I always hear about how big of a deal Spring Boot is and how much of a game changer it is. Even people from other languages (especially C#) praise it and claim it has no true counterparts.

What makes Spring Boot so special? I know this sounds like a super beginner question, but the reason I am asking this here is because I couldn't find any satisfactory answers from Google. What is it that Spring Boot can do that nothing else can? Could you guys maybe enlighten me and explain it in technical ways?


r/learnjava • • Nov 29 '25

Java cheat sheet

133 Upvotes

Hey guys!

I've created a Java cheat sheet that I would like to share with you.

You can check it out here:
https://it-cheat-sheets-21aa0a.gitlab.io/java-cheat-sheet.html

And you can find a few other cheat sheets I made on this link:
https://it-cheat-sheets-21aa0a.gitlab.io/

If someone would like to contribute here's the link of the Git repo:
https://gitlab.com/davidvarga/it-cheat-sheets

If you found an issue, or something is missing please let me know.


r/learnjava • • Sep 12 '24

I am Learning Java, after 8 years of doing PHP and Node.js. Hear me out on this guys.

132 Upvotes

Looking at the job market, I finally realized after all these years that these enterprise-grade programming languages i.e. Java and .Net are here to stay for a long time. I coded in PHP for 3 years, then jumped on to Node.js, supercharged it with TypeScript, and continued coding with it. But Java always had a special place in my heart, because I coded with it during my college lifetime. So why didn't I pursue a career in Java then? I had no clue about web services, serverlets, etc at first, but when I came to know about JEE, I tried to find resources through books and the internet, but they all seemed obsolete and didn't catch my interest, therefore, I taught myself PHP in 3-4 months and secured a job right after my graduation. It was not fun, but it put food on the table. After 3 years I jumped over to Node.js, because it was the hottest trend in the back-end industry, and it paid better than PHP. Programming-wise, it was awful, but again it paid better. Then TypeScript came to the rescue, and it fulfilled my cravings for OOP. I saw my career flourishing with Node.js until the job market received a serious hit after COVID-19 followed by a recession. And then I finally realized, that runtimes like Node.js can't crack itself into the enterprise market, because Java and .NET are the "Tried and Tested" bigger guns. With Node.js you can't always go bigger, and you will mostly have to jump from startup to startup. The startup culture took a serious hit during the recession so did the job market for Node.js. So I thought, "You are growing older, you are above your 30s now, therefore, you need something stable to work with, it doesn't matter if has to be the BORING and SLOWER enterprise, but it will ensure job security. So why not try to get back to Java? I guess there is still time". So I picked up my good old "Thinking in Java" and "Java: The Complete Reference books" lying around, and set a 1 year plan to cover Java up to the advanced topics along with Spring framework, with all the back-end knowledge aiding me along the way. I know cloud, db, message brokers, REST, system architecture, and a lot of other stuff, and I just want to add Java to my arsenal.

So, what do you guys say about it? What's your take on my decision? How can I aid myself to learn Java fast but better?


r/learnjava • • Oct 05 '21

I feel so blessed to have this sub as a resource and a place to turn to when I am lost. You guys truly saved my ass from insanity.

132 Upvotes

A little background, I live in San Francisco yet my family is extremely low income (undgrad student, parents make under 40k combined). I cannot afford tutoring like most of my peers. I was not able to go to UC Berkeley or any other UC because of costs.

This semester is so much harder because my professor at my local community college is way better than my old professors... (He is actually one of the creators of Rust! What's he doing teaching at CC?)

Instead of suffering poor grades, I am actually literally tutoring classmates who need help. The reason is because I have the amazing resource of the r/learn programming/java communities! I can't count the number of times someone has pointed out something I could change, something I could learn, etc. Which has made me a really strong student in my class. I think part of the reason is I ask all my dumb questions here so I feel very well versed when we have class.

I even met someone here who works as a SWE yet invited me to a replit where he pointed stuff out to me!

Thanks Ben, captainAwesomePants, lightcloud5, desertfx, lenny, and everyone else who say my string of posts and patiently helped me through every. singly. time!


r/learnjava • • Jun 11 '19

Learn Java in 500 Steps - Hands on Step by Step using JShell

132 Upvotes

Welcome to this book on "Learning Java In 150 Steps".

I am Ranga Karanam, and I have more than two decades of programming experience.

I love Programming. One of the aims I had when I started in28minutes
was to make learning programming easy. Thanks for helping us provide amazing courses to 300,000 learners across the world.

At In28Minutes, we ask ourselves one question every day: "How do we create awesome learning experiences?"

In this book, you will learn to write object oriented code with Java. You will be exposed to a lot of examples, exercises and tips. We will take up a lot of examples, and try and see how to write code for those in Java.

Help us improve this guide - Fork, Pull Requests, Shares and Likes are recommended!

https://github.com/in28minutes/java-tutorial-for-beginners/blob/master/README.md


r/learnjava • • Feb 28 '25

Seriously, what is static...

127 Upvotes

Public and Private, I know when to use them, but Static? I read so many explanations but I still don't get it 🫠 If someone can explain it in simple terms it'd be very appreciated lol


r/learnjava • • Jun 28 '25

MERN is everywhere. Learn Java in 2025?

123 Upvotes

I am thinking to pursue Java to become a Backend Dev. I came to know it takes time to become one as compared to MERN but I see them everywhere. What are your thoughts?


r/learnjava • • Sep 02 '20

Some java interview questions and answers

122 Upvotes

https://fdk.codes/some-java-interview-questions/

While preparing myself, I started yet another collection of java related questions and answers. In hope that these might also be helpful for others, I'd like to share them with you. Beyond that, they are certainly not perfect and can be improved. I appreciate any feedback or any pointed out flaw in order to spread as few untruths as possible.

Cheers!


r/learnjava • • Nov 25 '20

why do people hate java so much?

120 Upvotes

why do people hate java? I personally really love java because of the OOP paradigm and it makes my codes cleaner. not to mention the portability. but i swear I see more than one tweet hating on java everyday, or saying java is dying. is java really dying?

I guess I have two questions; why do people hate on java and is there still a future for java?


r/learnjava • • Feb 16 '21

Got accepted!

119 Upvotes

Just got(most likely, I dont have an exact answer for the test yet) accepted to a Java Junior course!!! I only wanted to share, since:

I COULDNT BE HAPPIER!!!! ^


r/learnjava • • Jun 10 '23

/r/learnjava will be joining the June 12th Blackout in protest of Reddit's API changes. Please support open-source projects and democratization of Projects by using other platforms until we return. This sub will not be accessible for at least 2 days, and possibly longer.

Post image
118 Upvotes

r/learnjava • • Dec 23 '20

Junior java dev mistakes from real-world project

115 Upvotes

I reviewed my own code which I have written being newbie and identified a few mistakes that I think are common to most junior java devs. I think it might be useful to read it for some of you to avoid the same mistakes ;)

https://www.devoxify.com/posts/junior-java-dev-mistakes-from-real-world-project/


r/learnjava • • Jul 27 '20

Need to learn Java within a week

114 Upvotes

Hi guys, a company I'm interested to join has asked me to take up a competitive programming test in Java. However, my main programming language of choice is Python. I'm not new to programming, I've been doing it consistently for college for the past 4 years but I've always dodged Java. Now the time has come to actually learn Java but the problem is I only have a week to take up the test. Could you guys please point me towards some resource(s) that I can use to cram as much Java as I can within a week's time?

Note: I don't need to be able to develop GUIs or anything. The goal is to just be competent in their programming test.


r/learnjava • • Mar 10 '25

Java/Spring Boot Doubts and Questions : Virtual Meetup ?

112 Upvotes

As a senior developer, I am overwhelmed with the amount of questions and doubts from all junior/interns of java and spring boot in my previous post where I give them advice how to inprove your skillset in Java/Spring to become job ready :

https://www.reddit.com/r/learnjava/s/ogCowqe53P

I answered as much as I could so that it helps you in getting a good job. Hope your doubts are somewhat cleared by now. Since its a tough journey to become a good developer, I am happy to help people with same skill.

If people agree, I can arrange one virtual session on some platform like ( google meet/microsoft teams/zoom ) for may be 1 hour for you guys to clear your doubts and questions.

Dont worry I am not doing this for money. I am just happy to help other so that you can also secure your future with good job.

If you are interested, you comment YES and upvote. If we see good engagement, I will schedule the session inviting all who are interested.

Note : The questions should be specific to Java/Spring Boot dev profile.


r/learnjava • • Jan 14 '21

I'm ashamed about how bad I'm at programming...

112 Upvotes

Hi guys,

Like the titel says, I'm ashamed and super insecure about myself when it comes to programming. Although I must say, I have only started learning Java for two months now. I have this project for school that I don't even understand how I'm supposed to do it. Super basic stuff like prints, making (simple) methods and variables, that I know. But I get lost when it comes to classes, instances, object, arrays and other terms and how you type them out and how they are connected.

My dad has been helping me with the project. It's honestly embarrassing and I feel awful about it. He tries to explain the things he does and how to think, but I just don't get it. Everyone on discord(my classmates) give each other advices and talk in a way I dont understand.

Perhaps I'm overthinking/overreacting, but I'm starting to associate programming with pain and tears and this point. I just have a hard time grasping everything so fast like everyone else to have done. I just feel so stupid 😞

Sorry for venting this out, just had to let it out somewhere. Any advice on how I can understand programming better? If you have other tips, please say them!


r/learnjava • • Feb 19 '25

Where to learn Spring Boot in 2025 for FREE

111 Upvotes

Hello, Can anyone help me tell where i can learn spring boot for free (Not spring) for absolute beginner to advanced. Lot of youtube videos are lengthy and i dont want to start them without knowing it is completely spring boot instead of spring. I know spring boot is a part of Spring framework, I want to learn only spring boot. Please HELP!


r/learnjava • • Jun 17 '22

i just created my very first java program without following a tutorial

109 Upvotes
public class Main {
    public static void main(String[] args){
        String reversable = "it works let's go";
        String reversed = "";
        for(int i = reversable.length(); i>0; i--){
            reversed += reversable.charAt(i - 1);

        }
        System.out.println(reversed);
    }
}

i'm happy


r/learnjava • • Dec 14 '24

i've just made my first Java app! I'm so happy!!

108 Upvotes

After about 2 weeks of learning Java, I've created something I'm pretty excited about and wanted to share my experience.

When I started learning Java, I knew I didn't want to just follow tutorials blindly. I wanted to truly understand the language and build something practical. The classic "todo app" seemed like the perfect starting point.

I could talk for hours about the new concepts that i've learnt from it, like streams, deserializing and serializing data, the HttpServer class and so on but here on reddit i just wanted to share this achievement with you guys.

Here you can see the source code.

And here you can read a blog post about this amazing process.

Any code feedback is appreciated!


r/learnjava • • Feb 23 '21

Full Stack Java Development with Spring Boot and VueJS

107 Upvotes

I recently wrote an article and recorded a tutorial on how to create a single project using Spring Boot and VueJS. I hope this helps anyone out looking to do the same.

Article: https://www.danvega.dev/blog/2021/01/22/full-stack-java-vue/

YouTube: https://youtu.be/2G6r2f40Lps


r/learnjava • • Sep 01 '20

A new series on completable Java projects for beginners. First up: finding duplicate files

107 Upvotes

Oracle's Java Magazine has begun a series of articles on small projects intended for developers who have a basic understanding of the language to develop their skills. The first article is on a command-line utility to identify duplicate files in one ore more directories.


r/learnjava • • May 01 '21

After 20 hours of Mooc course, I wrote a simplest texted based Dragon Ball RPG game, lol. Frieze can't attack back yet, but it will get there with more contents. Java learning is fun

105 Upvotes

r/learnjava • • Nov 10 '25

Is Multithreading necessary for a job?

103 Upvotes

In all Java interviews I have taken so far I have questions or multithreading a lot, but do programmers really used this at work? Cause in my experience I haven’t really work directly with this concept, I know it exists but it is still a difficult subject for me and I’m still unsure if it is really necessary for java developers positions


r/learnjava • • Sep 06 '25

Java Projects For Learning

103 Upvotes

I am a retired data engineer with some free time on my hands. I have been on many teams over the years which were asked to build enterprise application systems in Java. It would be fairly easy for me to put together some videos of how to code some of these examples. I would assume it might help those folks who don't know what to do after they have learned the basics of the language.

Do you think there would be any interest in this type of content? These are not topics you can cover with a single video. Building an application is a fairly dense proposition. The basic idea is to give new Java peeps some non-trivial examples to play with and experience Java coding.

I don't want to create this unless there is some interest, so feel free to comment and let me know. Or, tell me there is already way too much of this on YT, so don't bother. I am open-minded.


r/learnjava • • Apr 22 '20

Roadmap to learn Java in 6 months to be employable

101 Upvotes

There are a few videos on youtube with titles like "How I Learned to Code in 6 Months - And Got Into Google" but they're basically just selling their products in such videos.

What should be the roadmap to learn Java in 6 months to be job ready in such big tech companies? For example, what I should learn along with the core Java, when to start using Leetcode etc.

I'll appreciate any tips.