8

When learning the Spring Framework where should I start?

Comments
  • 4
    🚩
  • 3
    @wiwe2210 why the red flag, shouldn't I learn Spring?
  • 3
    Spring Framework has a lot of things. Are you looking to start with IoC/DI? If so, you should ignore Spring Boot for now.

    And their official docs are good enough
  • 3
    @Yggdrasil so that I get a notification of new comments. Very interested in the answers myself
  • 2
    @asgs well to be more specific I will start a position as java developer later this year and my future employer said I will be working with both spring and spring boot... My current knowledge of both is near to zero. So I was wondering if spring has a path of least resistence when it comes to learning it.

    But so you would start with dependency injection?
  • 2
    @Yggdrasil absolutely, it started as a DI container and it is now almost a replacement for JEE
  • 1
    @asgs ok super thanks a lot😀
  • 6
    https://www.baeldung.com/

    This website has a ton of free content about Spring that I use on the regular at my workplace.

    You can also check out the documentation Pivotal provides for the Spring Framework/Boot at https://spring.io/projects

    Finally, if your employer has continuing education funding, check out some courses on Udemy, Pluralsight or even Pivotal's own Core Spring course.
  • 2
    @obsecurity thx a lot😀
  • 3
    @asgs A replacement? :)

    TO: @Yggdrasil.
    @asgs is right, start w/ DI. As @obsecurity has pointed out, baeldung will be your best friend. His blog has covered nearly everything Spring can offer.

    2¢ from me: start w/ Spring boot. SpringFramework is a set of utils, specs implementations, tools for you to use. You can ofc use them w/o Boot, but that'll be cumbersome and arguably useful.
    Boot does nothing else but collects all those utils into launchable, pluggable components so you don't have to rape Tomcat, Jetty or wtv container to initiate your Spring's contexts. Boot has already taken care of all of it.

    Boot will launch an empty app. To make it do something you'll have to configure Spring's contexts by creating your own @Bean[s].

    Look up what contexts are and what they do, their restrictions. Also bat an eye on IoC principles (DI). hands-on xp will NOT be enough for the job. Take it from someone who thought it will :)
  • 0
    @netikras yes. Apps barely run on JEE containers anymore. With the move to Microservices, it makes even more sense to adopt light weight containers.

    Of course, enterprises are different and they won't catch up easily since they don't want to
  • 0
    Depends o how fabulous I am feeling
  • 0
    @Yggdrasil
    I was in a similar position as you a couple months ago.

    I started with this course
    https://udemy.com/spring-hibernate-...

    Then did this one to learn abt proper structure and spring rest
    https://udemy.com/restful-web-servi...

    Both courses together took me around 1 month

    Out of curiosity, can u tell the name of your future employer
Add Comment