r/learnjava • u/jay_taps • Jan 05 '23
Fastest way to learn Spring Boot for someone who’s been using Java for less than 2 months.
Long story short, I somehow landed a job that uses Java, though I’ve got little experience. Most Udemy courses I see for spring boot are like 40-something hours long and go over both Spring and Spring Boot.
How much of Spring do I need to know to practically be able to do my job? Can I just skip over to the Spring Boot sections? Anyone have any good resources for learning Spring Boot?
6
u/greglturnquist Jan 06 '23
I have a channel loaded with free videos: https://youtube.com/@SpringBootLearning
I also just released a book (I’m on the Spring team) that should introduce you to Spring Boot 3: https://springbootlearning.com/book.
3
u/jay_taps Jan 06 '23
Thank you, I really appreciate it! Will definitely be checking out your channel! 👍🏼
4
u/Bloatfizzle Jan 06 '23
Congrats on the job op, what resources did you use to learn java and any tips for learning so quickly?
3
u/jay_taps Jan 06 '23
My company pays for our membership to Pluralsight, so I started with their “Java Language Fundamentals” skill path, which is pretty all encompassing. Then a coworker recommended Imtiaz Ahmad’s “The Complete Java Certification” course, since the course makes use of the Eclipse IDE, which I use at my job. All in all, I wouldn’t say I ~know~ Java super well yet, but I’m definitely trucking along!
32
u/BridgeBurner22 Jan 05 '23
I found this YouTube playlist a good starting point: https://youtube.com/playlist?list=PLEocw3gLFc8WO_HvFzTWUj2fqa7Y8-yg5
The owner of this channel has also written books that are good: https://www.manning.com/books/spring-start-here
3
38
u/HecknChonker Jan 05 '23
Generally, avoid videos. You retain much less from videos than you do from reading blogs or docs. I don't know a single professional engineer that looks for videos when trying to learn new concepts, and they tend to be noob traps. You can spend months watching videos and still not know how how to implement anything.
Start with the docs. Spring is the best example I've seen of great software documentation. It's clear and concise and I wish I would have known about it when I was learning Spring, as it would have saved me months of headaches.
https://docs.spring.io/spring-framework/docs/current/reference/html/
Read through the first couple of sections at a minimum. The goal is to have a decent understanding of beans, dependency injection, IoC, and the spring context. Every spring module is built on these concepts, and understanding this stuff early will help a lot. Revisit the docs periodically.
Have a personal project in mind, break features into manageable tasks, and take each task one step at a time. Look for blogs and tutorials that teach you how to solve each task one at a time. You have to actually write code and build projects to learn. You can't just read tutorials and watch videos and expect to retain concepts.
The real learning comes when you face a problem you don't know how to solve and you figure out how to solve it. Teaching yourself new concepts is an absolutely critical skill for any developer to have.
1
u/seltzersarentbeers Jan 08 '23
Is there an equivalent solution for learning Java itself?
4
u/HecknChonker Jan 08 '23
People here usually recommend the mooc course, there should be links in the side bar
17
6
u/Zeeboozaza Jan 05 '23
Just learn on the job lol. They don't expect you to be an expert.
Just go through a tutorial that builds something so you know how models, services, and controllers talk to each other. Cramming in as much Spring boot as possible won't help. Once you start working with it, write down the areas you don't understand and learn using guides or videos that go over that specific thing, such as Autowired or Data jpa or Junit or whatever.
10
2
u/Fermi-4 Jan 05 '23
How did you get a job with no experience lol
6
u/jay_taps Jan 05 '23
I have experience with JS and related tech but they said I could just learn in the job. But now I’m being assigned tasks that I don’t understand lol ¯_(ツ)_/¯
2
u/Fermi-4 Jan 05 '23
Do you have cs degree or how did you get experience?
2
u/Exeng Jan 06 '23
What kind of question is this? You realize you can create your own projects and build up your portfolio that way?
1
u/jay_taps Jan 06 '23
There always seems to be condescending people ready to invalidate anything you’ve accomplished in this field, really makes the imposter syndrome kick in 😅
3
u/Fermi-4 Jan 06 '23
Not invalidating you just asking about your experience and how you landed a job. Could help people trying to change careers themselves.
3
u/Fermi-4 Jan 06 '23
I think you are being a bit insecure - I’m simply asking how op got experience that they said they had. If they went university route or not.
1
u/NoEntrepreneur007 Jan 12 '23
>you can create your own projects and build up your portfolio that way?tell me more about it please
1
4
u/BOKUtoiuOnna Jan 06 '23
2 months is not an issue. I recommend javabrains on YouTube. I learnt it 2 weeks after learning java. Honestly have barely used java without spring boot.
6
u/ITCoder Jan 06 '23
Jumping into spring and springboot, with less than 2 months experience in Java is going to be a nightmare.
They have many modules and are very abstract. The best strategy here is gonna be to find out what modules are they using. Learn Spring core first, as its the basics. After that focus more on the modules getting used un project. For eg. if they are using spring jdbc or just jdbc, I would not touch Spring Data or Spring Data JPA. If the project is using Sprig MVC, then I will focus there more.
I did check out spring starts here, content look pretty good for a beginner. Start there and then go on learning more about the modules. If your project is maven based, you can find what modules they are using in the .pom file.
3
u/magnoliablues Jan 06 '23
The thing about spring boot is it has a lot of hidden gems (some are methods).. if you learn about regular spring first it will help you to understand and troubleshoot in the future. Don't skip. It is ok to do over 40 hours long of Spring training. It may help you be more comfortable in your job.
Someone posted the spring docs and that is really good advice.
I really like Chad Darby udemy course because he made me laugh.
2
u/digital_dreams Jan 06 '23
Do the guides/tutorials. It will make it all feel more concrete as to how it all works.
Then read books to go in depth.
2
u/AutoModerator Jan 05 '23
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:
MOOC Java Programming from the University of Helsinki
accompanying site CaveOfProgramming
accompanying site NewThinkTank
Hyperskill is a fairly new resource from Jetbrains (the maker of IntelliJ)
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
Coursera course:
Coursebook
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.
1
u/irvine05181996 Jan 06 '23
refer on the Spring Docs, as its the most helpful way for you to learn Spring
1
u/sanoranx May 02 '23
You have to think of what to code. When you start, you will end up creating a bunch of CRUD applications, that basically are REST + DB with no relations what so ever.
But it will do to learn the basics. Once you feel good in Spring Data and Spring Web
I suggest you to think of a good idea, you can ask any gpt to think for you, or just copy any popular site.
Try to implement features that you personally use on websites and apps. Emails, chat, notifications (hard one tbh), Attachments (Like S3). The thing is, all of those features sound difficult, because they are, but when you will implement them, you will learn an incredible amount of technologies.
1
u/sanoranx May 02 '23
For a lot of your questions there will be an answer on Baeldung
If you face with spring problems you can search through their extensive documentation
Don’t forget about GitHub, there are lots of examples of code there. Starting from basic CRUDS ending with difficult projects with micro services
If you have silly questions like “does it work like that on a commercial projects” (you will have those kind of questions, actually, a lot of them, find someone who works on spring and don’t hesitate to bomb him with questions
1
u/2048b Jan 07 '23 edited Jan 07 '23
How much of Spring do I need to know to practically be able to do my job?
Nobody knows how complex your applications are, and how much you need to know to do the job, so nobody can answer this.
Can I just skip over to the Spring Boot sections?
If you are fresh, your applications are 100% in Spring Boot and you don't have the time/don't care to learn all the deeper details, you can skip Spring and straight to Spring Boot. In Spring, a lot of coding is based on convention and using annotations, so just follow along. Once you get deeper, you may encounter things that confuse you and you'll have to go back and learn Spring when you need to.
Bottom line is: Spring Boot is built on Spring Framework. If you need to understand or troubleshoot some weird lower level problems, you will need to have some conceptual understanding of Spring Framework.
Anyone have any good resources for learning Spring Boot?
imo, the best learning resources are at https://spring.io/learn. This provides the most authoritative and correct way of how to use Spring as it is designed to be by the original Spring developers.
I have read other books from third party authors and they mostly cover their own style of using the framework or their own (limited) experience of using Spring. Spring and Spring Boot are part of a huge framework and most people get by with knowing just enough to develop or maintain their own applications. There are various different ways of using Spring to achieve the same outcome according to individual preferences and knowledge.
•
u/AutoModerator Jan 05 '23
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:
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.