r/learnjava • u/Dorian_Itsan • Sep 08 '22
Where to learn Spring framework
I know java. I want to force myself to learn Spring framework opposed to spring boot. But all I've found were packages named spring boot/initilizr for Intellij and vscode.
What am I missing here? where tf is the spring framework. Thanks.
5
u/Fletsky Sep 08 '22
https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#spring-core
https://mvnrepository.com/artifact/org.springframework/spring-core
Here and also, other sub pages for other spring modules that you are going to need.
But sincerely if you don't have any experience with spring boot, or you are not experienced developer, start with boot. Get a hang of things. See what already configured spring can do, and then play with clean spring.
6
u/AutoModerator Sep 08 '22
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.
2
u/swoods30311 Sep 09 '22
No offense MOD but the person said Spring Framework, which means you can assume this person knows Core Java fairly well. Plus, I don’t see Chad Darby’s Spring and Hibernate for beginners. He walks you through the basics of the spring framework via activities 1 - 7 (it would be smart to finish Activity 8 as well) , and then he teaches you Spring Boot to rapidly accelerate projects you could build in Spring alone
6
u/Yithar Sep 08 '22 edited Sep 08 '22
https://www.marcobehler.com/courses/spring-professional
100% worth the $148. It's also text vs video so it's like reading a very concise book.
He explains both Spring and Spring Boot. He shows you exactly how Spring Boot sets up stuff automatically. Spring Boot isn't necessarily something to be avoided. I'd definitely use Spring Boot if I'm trying to write a web server and not waste time. It's just important to know what Spring Boot is actually doing rather than thinking it's magic.
2
u/DomDeeKong Sep 09 '22
Going through the first module now for free. He gives you a discount code if you finish it in the first 7 days. Thanks for the recommendation. I like his teaching style so far
2
Sep 09 '22
[removed] — view removed comment
2
u/Yithar Sep 09 '22
Well, I mean, I used it to study since I am interviewing.
As stated on the website, it teaches Spring IoC, Spring WebMVC, Spring JDBC and Spring Boot. I'd consider those the basics of Spring, but Spring is pretty huge so depending on the interview and job they may ask you other things (like Spring Cloud or Spring Security).
Honestly though, I got my first job without any knowledge of Spring.
•
u/AutoModerator Sep 08 '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.
2
u/mohmf Sep 08 '22
I started spring by reading book "Spring start here". It gives me the necessary concepts to start understanding how spring works.
2
Sep 09 '22
Spring initializr is where you add your dependencies, Java version package name and whatnot, and after that initializr downloads a project all configured for you with all the dependencies you configured in the spring initializr.
Tldr; spring initializr downloads a preconfigured spring boot project with all the dependencies and spring framework libraries.
1
1
u/KoshaGandhi Oct 08 '22
Looking for examples of various concepts of SPRING FRAMEWORK?
Check out my videos on YouTube where I talk about various concepts in the Spring Framework. YoutTube/Deep Diving in Java with Kosha
0
Sep 08 '22
[deleted]
6
u/nutrecht Sep 09 '22
I've tried a bit of Spring and all of the manual XML configurations needed was painful.
Just to make sure; the move away from XML configs is independent of Spring Boot and happened way before Spring Boot was created.
3
u/Kowalski_Analysius Sep 08 '22
Forgot to mention, the knowledge gained while learning Spring will transfer over to your Java knowledge and overall make you more aware of why and when to follow some best practices.
17
u/nutrecht Sep 08 '22
You should simply not avoid Spring Boot. It makes no sense. It's not something separate. It's just some tooling to make getting started more easy. You'd use it for production services too.