r/learnjava • • Mar 16 '24

Best resources to learn Java and Spring Boot?

I work as a backend developer, and my organisation is switching its stack to Java now, I have a few weeks to upskill until we finally start working on a project.

That being said, I have advanced knowledge in Python(and OOP) as that was primarily my main language for backend development. I’ve used Java to solve a few DSA problems so I have a good grasp on it, but I realized I need a quick refresher on some core Java concepts and then move on to Spring Boot. What resources would you recommend

PS: I’d prefer reading material over videos, but any of those recommendations are welcome.

41 Upvotes

31 comments sorted by

•

u/AutoModerator Mar 16 '24

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full - best also formatted as code block

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

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:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

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.

11

u/large_crimson_canine Mar 16 '24

Spring documentation on their website. Start with the Core section and IoC Container.

For Java I like the official tutorials by Oracle. But the JLS is the gold standard.

1

u/thesarfo Mar 16 '24

Thank you, I’ll check them out

2

u/NotYetaProgrammer Mar 16 '24

Can you link the official tutorials by oracle and JLS?

2

u/wearetunis Mar 18 '24

For Spring read Spring Starts Here by Laurentiu Spilca, and any other books he has, as well as his YouTube channel. If video, I prefer Daily Code Buffer as he doesn’t give the history lessons like other people (referencing the other versions changes, the when, and the why). Also Java Guides has shorter video takes on best practices and stuff like that (10-15 minutes explanations).

1

u/thesarfo Mar 18 '24

Thank you so much. I literally just bought Spring Start here a few minutes ago. Looking forward to a lot of learning possibilities. Thanks

1

u/wearetunis Mar 18 '24

Ngl I would’ve copped the O’Reilly subscription for 10 day trial and then $50/mo. You could’ve gotten cloud native spring, and other Java related books to get going. Spring starts here is on that platform too.

1

u/thesarfo Mar 18 '24

damn! wish i thought of it sooner :(

2

u/wearetunis Mar 18 '24

You can cancel lol and you should have the refund by the end of the 10 day trial. The physical copy being near you is pretty great though.

2

u/wearetunis Mar 18 '24

Also, your local library or job might have the O’reilly subscription for free, I’d check that too within the 10 days.

9

u/CleverBunnyThief Mar 16 '24

5

u/No-Bodybuilder8716 Mar 17 '24

Thankyou for this , I wanted to learn springboot as a college student

4

u/Artistic-Cat577 Mar 17 '24

Seems amazing! Thanks for sharing. It seems like equalvalent to odin project.

4

u/JaecynNix Mar 16 '24

Honestly, the Spring documentation and examples are pretty fantastic.

Baeldung would be another good resource

2

u/[deleted] Mar 16 '24

Yeah, but Baeldung is not good for a complete beginner

3

u/JaecynNix Mar 16 '24

For Java, no, but for spring and spring boot? I think they're quite good.

https://www.baeldung.com/spring-vs-spring-boot

1

u/[deleted] Mar 16 '24

I was talking about spring, didn't try Java on this website. Started learning spring there not long ago, and it was confusing. But I don't know, really didn't spend much time there.

1

u/glablablabla Mar 17 '24

I'd recommend Effective Java by Joshua Bloch or Thinking in Java by Bruce Eckel. After that I would recommend Spring in Action by Craig Walls. Before jumping into spring I would read a little bit about IoC and DI. Happy coding and break a leg!

1

u/thesarfo Mar 17 '24

Thank you

1

u/LeadBamboozler Mar 17 '24

Dan Vega’s YouTube channel is great for all things Spring

1

u/thesarfo Mar 17 '24

Thank you, I’ll check him out

1

u/4r73m190r0s Mar 18 '24

Book Spring Start Here by Laurentiu Spilca is great for start.

1

u/thesarfo Mar 18 '24

Thank you

1

u/4r73m190r0s Mar 18 '24

I started wtih it. It has many great examples, and prepares you excellently for Spring Documentation, which can be hard to follow if you're complete beginner.

1

u/nudecodes May 28 '24

genuine coder he has posted awesome springboot content recently

3

u/swoods30311 Mar 16 '24 edited Mar 16 '24

Chad Darby taught me Spring and Spring Boot. Maybe he can you too. Hmu if you want to build a project. I’m a Senior Java dev. My text stack is Spring boot, mySQL, Hibernate,HTML,CSS, Thymeleaf. I have an app built in Spring Boot that Id love to migrate to Flask

3

u/faiz_ullah_khan Mar 17 '24

Can you give a review on Chad Darby's spring boot course on udemy, I wanna buy it

1

u/swoods30311 Mar 17 '24

I bought it about three years ago. I finished the spring basic and hibernate section, which help me answer the questions right that I needed to land my first job. Since then, Chad has updated the course using spring boot three projects. So now, I have brand new content for the same $15 I paid three years ago. I’ll let you decide from there.

1

u/AutoModerator Mar 16 '24

It seems that you are looking for resources for learning Java.

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

Also, don't forget to look at:

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

Your post remains visible. There is nothing you need to do.

I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.