r/SpringBoot • • 10d ago

How-To/Tutorial How to actually learn spring boot?

I have decent hands on experience in java and java is my main language too.

How do I start learning springboot.

Recently started watching coder army tutorials but he went too in-depth that it went mostly over my head and went boring.

How do I learn hands on in spring boot?

where should I start?

Also please share any resources.

29 Upvotes

12 comments sorted by

11

u/MrLemon91 10d ago

By doing hands on project and break stuff in production

9

u/Winavesh 10d ago

Laurentiu Spilca's Spring Start Here is a good beginner book

3

u/Mikey-3198 10d ago

Like anything in life, by doing. Look at the examples in the docs and make something simple then incrementally add new features.

2

u/FriendshipCalm3162 9d ago

Since the in-depth route lost you, I'd flip the order and get something running before any theory.

  1. On start.spring.io, add the web dependency, hit Generate and run what it gives you. The Quickstart page on spring.io walks through exactly that.

  2. Then the Getting Started guides on spring.io, starting with Building a RESTful Web Service. It says about 15 minutes and comes with a complete folder of finished code, so when yours breaks you can diff against it.

  3. Choose the next guide by what you want the app to do next. I'd add a database, then security, into the same project one at a time.

  4. After that, clone Spring Petclinic from the spring-projects GitHub. It runs with ./mvnw spring-boot:run on an in-memory H2 database, so there's nothing to set up. Read how a request gets from a controller to the database, then add one field to a form and trace it all the way through.

The concepts are a lot easier to follow once you've seen them working, so that's a good point to pick up the Spilca book someone mentioned.

1

u/CryptoCoder0305 9d ago

You are following the good resource though give it sometime

1

u/theoneamin 6d ago

Answer lies in your words “…hands on…”.

Building things is the best way to learn.

- Create a small project, keep adding complexity and functionality to get in depth knowledge.
- Try build real world-like systems relevant to an industry you want to work in.
- use AI to give you structured learning path based on what field you want to work in
- READ THE DOCS

You won’t be able to learn everything without investing huge amounts of time and I don’t think you will need to learn everything. Learn what you need for the job. Work itself will force you to learn the tech deeper with time.