3

For work i need to learn the java Spring framework . In doing it at work since im an apprentice. Im wondering where to start, i have written a lil bit of java and in familiar with c#. Im currently doing the guides on spring.io are there other resources you ppl can reccomend for learning the spring framework? Thanks in advance :)

Comments
  • 0
    Are you looking to do just backend practice or mixing it with front-end?

    I'm fairly new to Java myself, been learning spring frameworks since May, now trying my hand at some Angular/REACT + Java Spring. It's challenging but I enjoy it.

    I took a Udemy course to get used to spring and then moved to books, so depends on how much you want to take on.
  • 1
    @starrynights89 mainly Backend as i hate frontend but sooner or later i will have to learn some angular and am familliar with react already. But im confident that i can avoid it if i am presistent enough c:
  • 1
    @Kubernatural Front-end is stressful for me too but it helps me get confidant that I can get a job after I graduate next year.

    So now that we've narrowed it down, I'd recommend this Udemy course that I took. It helped me a lot as a beginner to both Spring and Java.

    https://udemy.com/spring-hibernate-...
  • 1
    @starrynights89 its not stressfull for me. I just hate writing Javascript. I like writing the code that does heavy lifting i dont care about displaying stuff xD. I let the ppl that love to do that do it c:. Also my job is reasonably save.
  • 1
    @Kubernatural I actually like Javascript and Java about the same. I just want a job, any job where I can use these skills. Everybody wants a degree first though. Drives me insane.
  • 1
    Depends what spring are u talking about ... spring boot spting betches spring hybernate spring mvc spring security :))) there are lots of springs. Usualy best to focus on are hybernate mvc and i would say boot. From here on just try to understand dependacy injection, builder, factory, service design patterns while spring is mostly based on those. After this just try to understand adnotations the basic ones such as autowired beans springapplication configuration service etc and configurations such as auto config xml config java config properties files.
    Once you understand the basics of spring architecture it will be easier to progress in depth. Good luck :)
  • 0
    @zer02 alroght thanks for the tip. To be more specific the company uses spring boot mostly and a bit of spring kafka but fot now boot is my target :)
  • 1
    If it's Spring Boot, then the official documentation is the best source of information. If you have a fair bit of knowledge about Design Patterns, it'll all be easy to understand. If you want to get into the nitty gritty of container based dependency injection, then follow Martin Fowler's blog. That post came out in early 2000s. And that is still the best out there.

    For quick solutions, Baeldung's blog is a really good resource.

    Most of the Spring apps out there follow the MVC pattern. But since you said Kafka, I am guessing the app might have been created with a a fair bit of DDD. Better read up on that if you want to develop skills in that.
  • 1
    Just to add one more...

    Use constructor injection. That's the standard way in all programming languages. It makes testing a breeze.

    People who prefer field injection write integration tests while claiming it to be unit tests. Don't listen to them. They are idiots. They don't understand design.
  • 0
    @badcoder thanks for that. Im actually on baeldung rn :) and ill def check put that design pattern thing. But no idea what you mean with DDD im also not aware what exactly it is what they use kafka and stuff for i was told to get familiar with it so i can start hrlping on projects soon.
  • 0
    @badcoder still better than no tests at all
  • 1
    @Kubernatural I meant domain driven design. Entities, data objects, aggregates, services etc. You'll find quite a number of good resources on that.

    Think of Kafka as a huge freaking log with pub-sub capabilities, where you can only add mesaages and commit. But no update is allowed. If you want to understand the idea behind it and also a ton about how databases sync with each other, read this post.

    https://engineering.linkedin.com/di...

    This was written by one of the original authors of Kafka. This will clear up all doubts.

    People like using Kafka for event sourcing, although many will claim it doesn't really do event sourcing. But I am not gonna get into that. You should form your own opinions :)
  • 0
    @badcoder thanks a lot for the links! Afaik kafka is used to handle events or something similar in this instance but that is about all i overheard :). Ill get going and read uo on the stuff u linked now!
  • 1
    I learned from https://youtube.com/watch/... but this is about Spring Boot mainly and some others :)
Add Comment