r/learnjava • • Sep 25 '22

I want to get a deep understanding of Java and Spring Boot

Hi

I've been a Java developer for 2 years. Now that I'm comfortable with the language, I want to get a deep understanding of Java and Spring Boot.

Regarding Java, I believe reading the book "OCP Oracle Certified Professional Java SE 17 Developer Study Guide" will give me that deep knowledge I need.

However, how can I do the same for Spring Boot? I have started reading the documentation slowly, chapter by chapter, as it looks like most books can't keep up with the fast paced developments.

Am I correct? Or are there other golden resources out there that might give me what I want?


So, the general agreement on how to gain deep and thorough knowledge of Spring is as follows. Ofcourse, this goes hand in hand with being an active Java/Spring developer working professionally or on projects.

Spring Framework:

  1. Read Spring Core Documentation (v6)

  2. Read Spring Boot Documentation (v3)

Java:

  1. OCP Oracle Certified Professional Java SE 17 Developer Study Guide: Exam 1Z0-829

54 Upvotes

15 comments sorted by

•

u/AutoModerator Sep 25 '22

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://imgur.com/a/fgoFFis) 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.

20

u/duckiemama Sep 25 '22

Daily code buffer

8

u/SlightlyUnderdevelop Sep 25 '22 edited Sep 26 '22

Thanks for the reply! I've checked their Spring Boot content and it looks basic to me. Many introductions and some small snippets. It might help someone else though :)

1

u/NiceWetTissue Sep 25 '22

I agree, its basic. If you know that stuff the best way to dog deeper into spring boot would be to read documentation

5

u/Mecha_Kaneki Sep 25 '22

Unfortunately there are very few materials available for spring boot. I would however recommend reading up on what spring framework is, inversion of control, dependency injection, bean factory, the basics once you get decent with core java. Once u get a basic idea, check out this video its 10 hour long id recommend watching part by part and then try coding it yourself. It covers alot of things and makes it easy to understand https://youtu.be/zvR-Oif_nxg

You can also check out the book Spring Boot in Action by Craig Walls.

2

u/SlightlyUnderdevelop Sep 25 '22

Awesome! Thanks for the video, some other redditor here recommended them but I didn't check their Youtube. I'll check if Spring Boot in Action is available in our work library, else, I'll request it for sure :)

5

u/Mecha_Kaneki Sep 25 '22

You can find the book on zlib for free! Welcome

4

u/nutrecht Sep 26 '22

I have started reading the documentation slowly, chapter by chapter

That's really the best way. Spring has excellent documentation. Unfortunately, a lot of people limit themselves to the starter guides and then complain Spring is 'magic'.

6

u/SlightlyUnderdevelop Sep 26 '22

My mistake was to go straight to the Spring Boot documentation instead of Spring Core. Really recommend anyone who wishes to learn Spring seriously in-depth to just read the docs instead of a book.

2

u/maethor Sep 25 '22

However, how can I do the same for Spring Boot? I have started reading the documentation slowly, chapter by chapter, as it looks like most books can't keep up with the fast paced developments.

The core of Spring is the Framework (not Boot) and that isn't as fast paced as some other Spring projects. The current major version of the Framework (v5) was released in 2017.

With that said, version 6 of the framework should be releasing soonish. You should be fine learning v5 and then learning what's new in 6 (from what I can tell, the biggest difference is the move from JavaEE to JakartaEE, which isn't really much of a difference).

2

u/SlightlyUnderdevelop Sep 25 '22

version 6 of the framework should be releasing soonish

Hmm, maybe a better approach would be to learn Core Spring first by reading https://docs.spring.io/spring-framework/docs/6.0.0-SNAPSHOT/reference/html/ and then move on to Spring Boot.

JakartaEE

I've seen that name here and there, but I've never really known what it was. Time to learn :)

Thanks for sparring!

5

u/maethor Sep 25 '22

and then move on to Spring Boot.

Learn enough Spring Boot to get a very basic web app up and running (that's not a whole lot of learning) and then jump into the Framework.

By all means start with version 6, but most books will still be targeting 5 (I don't think it will matter much).

but I've never really known what it was

A complete PITA. Oracle handed JavaEE over the Eclipse Foundation, but they wouldn't transfer/grant trademark rights. So Eclipse renamed JavaEE to JakartaEE, which wouldn't have been a big deal, but it also meant that a lot of classes that were in javax packages had to be moved to jakarta packages (so everything in javax.xml.bind is now in jakarta.xml.bind, for example). Hopefully you can imagine the sort of chaos this brings.

4

u/JuRo-Le Sep 25 '22

bro, let apply to Spring/ Oracle team

1

u/Sevyls Oct 11 '22

have a look at baeldung.com

Spring Course https://www.baeldung.com/learn-spring-course

1

u/[deleted] Mar 23 '23

If anyone need pdf of OCP Oracle Certified Professional Java SE 17 Developer Study Guide dm me.