This is a great tutorial, I learnt alot from it. However you went too fast in the testing parts. I couldn't figure out why some parts of the code was used and why some was structured in a certain way.
great content thanks, do we have similar plugin like jpa buddy for vscode,netbean,eclipse and intellij community(not expecting freemium), i dont want jpa buddy but want to use similar plugin for free and production.Next video on relation and mapping please.
This is the best Spring Boot tutorial on RUclips by far!! I absolutely love how you show and explain how to structure a project, testing and all the best practices that go along with them... These are the things that are missing from all other tutorials so I'm glad I found your channel! Subscribed and looking forward to more content like this :)
Okay I have to ask, how well do you need to know JAVA to learn Springboot? I feel dumb learning it lol. I'm currently a Professional Frontend Developer and it feels like backend is more complex. How did you go about learning it? Was your fist job in Backend Development and did you have a mentor?
Easy to understand, really nice. Just that I was really stuck on why my delete test did not get the error that you get in the video, turns out everything is fine, and by reading the codes, it will still give out HTTP 204 (no content) so I'm not even sure on what is the differences, but it works. Maybe the differences in framework versions, I guess.
You're right! An optional is a monad. It's either present or it's not, but it is a thing that is returned. Here's the doc link for completeness or if anyone is interested: docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/repository/CrudRepository.html#findById(ID)
Can you try it without the autowired annotation on your constructor since I thought it was now able to do constructor injection without an autowired annotation.
You're absolutely right my friend! As of Spring Framework 4.3 if there is only one explicit constructor then you can omit the @Autowired annotation 💪 I'm still thinking on if keeping it explicit is useful 🤔 What do you think? (Although chalk up the inclusion on this video as old habit)
Hello this might seem a basic question. But Can you explain to me the difference between a DAO and Repository. I'm having hard time understanding this one. Thank you very much !
Great question! Typically a DAO maps one-to-one with a database table e.g BooksDaobooks table. Whereas a repository is a higher level of abstraction. Which in practice means you can combine multiple DAOs in a repository, which makes fetching related objects/tables much easier. It's explored a little more in the Database videos: ruclips.net/video/igJ4DHQ0owU/видео.html This is the definition used in the Spring Boot docs also, but bear in mind that depending on the context of how you're using them, this definition can be a bit different. Hope this helps!
Awesome guide, really helped me with my school project and learned alot of testing🎉 When it comes to saving pictures in an API is it easy with spring boot? Would love a guide for that.
Good on you for seeing it through 💪 If you fancy jumping on a call to chat about any ideas you have to make it easier for the next person, I'm always up for it. Just drop me an email: contact@devtiro.com 😁
This is a great tutorial, I learnt alot from it. However you went too fast in the testing parts. I couldn't figure out why some parts of the code was used and why some was structured in a certain way.
Thank you
great content thanks, do we have similar plugin like jpa buddy for vscode,netbean,eclipse and intellij community(not expecting freemium), i dont want jpa buddy but want to use similar plugin for free and production.Next video on relation and mapping please.
Hrmm, I've not used JPA Buddy myself... however Flyway or Liquibase work great for handling database migrations :)
This should be the first video in your spring boot playlist
This is the best Spring Boot tutorial on RUclips by far!! I absolutely love how you show and explain how to structure a project, testing and all the best practices that go along with them... These are the things that are missing from all other tutorials so I'm glad I found your channel! Subscribed and looking forward to more content like this :)
Thank you so much, I'm glad it helped! Good to have you with us 🫡
Okay I have to ask, how well do you need to know JAVA to learn Springboot?
I feel dumb learning it lol.
I'm currently a Professional Frontend Developer and it feels like backend is more complex.
How did you go about learning it? Was your fist job in Backend Development and did you have a mentor?
Just finished the course. Thank you for the informative and well explained content. It was very valuable to me!
awsome video, Tnx a lot man
Awesome. Can you teach Spring Security?
For sure! I will put this topic on the backlog 😁 Thanks for the suggestion!
Easy to understand, really nice. Just that I was really stuck on why my delete test did not get the error that you get in the video, turns out everything is fine, and by reading the codes, it will still give out HTTP 204 (no content) so I'm not even sure on what is the differences, but it works. Maybe the differences in framework versions, I guess.
wouldnt you want a separate post mapping for creating data and a put mapping for editing data ?
Useful, thanks!
hello from Brazil!
Your explanation of findById return was a little misleading. In either case you’ll get an optional just that it may or may not have a book.
You're right!
An optional is a monad. It's either present or it's not, but it is a thing that is returned.
Here's the doc link for completeness or if anyone is interested: docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/repository/CrudRepository.html#findById(ID)
awesome!
Can you try it without the autowired annotation on your constructor since I thought it was now able to do constructor injection without an autowired annotation.
You're absolutely right my friend!
As of Spring Framework 4.3 if there is only one explicit constructor then you can omit the @Autowired annotation 💪
I'm still thinking on if keeping it explicit is useful 🤔 What do you think?
(Although chalk up the inclusion on this video as old habit)
Finally a new Java and Spring Boot tutorial
I'm glad it's helped 😁
Awesome course. Great content with the best explanation!!
Thank you for the kind words! I'm glad it helped 🎉
I see this day that I think you will become one of the best out there so. . work hard for this ❤
Thank you for the kind words! 🙌
i am asking as a newbie: Where do we need in memory databases? Thanks for everything you upload, it really helped me learn!
Thanks man for easy explanation,just wow 🔥🇮🇳🇮🇳
keep em coming! Great tutorial!!!!
Thank you! 🙏Will do!
Hello this might seem a basic question.
But Can you explain to me the difference between a DAO and Repository.
I'm having hard time understanding this one. Thank you very much !
Great question!
Typically a DAO maps one-to-one with a database table e.g BooksDaobooks table.
Whereas a repository is a higher level of abstraction. Which in practice means you can combine multiple DAOs in a repository, which makes fetching related objects/tables much easier.
It's explored a little more in the Database videos: ruclips.net/video/igJ4DHQ0owU/видео.html
This is the definition used in the Spring Boot docs also, but bear in mind that depending on the context of how you're using them, this definition can be a bit different.
Hope this helps!
Awesome guide, really helped me with my school project and learned alot of testing🎉 When it comes to saving pictures in an API is it easy with spring boot? Would love a guide for that.
I'm glad it helped 💪 I'll add it to the video backlog!
that is awesome, a great tutorial. can you please make some tutorials about serverless with spring boot mvc with aws lambda and rds?
Thank you!
Great suggestions, I'll add them to the video backlog 😁
Just finished this exercise from scratch and it felt like a long hard slog for me.
Good on you for seeing it through 💪
If you fancy jumping on a call to chat about any ideas you have to make it easier for the next person, I'm always up for it.
Just drop me an email: contact@devtiro.com 😁
Hi devtiro.can you please make an video on hibernate
For sure! Here you go: ruclips.net/video/DYDr8gDDByE/видео.html
I hope it helps! 😁
Awsome Explanation
Hello.
I wrote a blog post about Spring Data Jpa, but I could not reach the number of users I wanted. Can you promote it?