Spring Boot Tutorial - Crash Course

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 376

  • @damn64770
    @damn64770 2 роки тому +84

    Note: if you are using h2 version (2.1.214 ) change the create table statement to below (to avoid errors):
    create table if not exists photoz (
    id INT PRIMARY KEY NOT NULL AUTO_INCREMENT,
    file_name varchar(255),
    content_type varchar(255),
    data binary large object
    );

    • @MarcoCodes
      @MarcoCodes  2 роки тому +5

      Thanks for writing it up.

    • @maksadnahibhoolna-wc2ef
      @maksadnahibhoolna-wc2ef Рік тому +1

      @@MarcoCodes can we replace identity with GENERATED ALWAYS AS IDENTITY

    • @lukinkoo
      @lukinkoo Рік тому

      @@MarcoCodes The REFs file for this vid can be edited and ppl are editing it. Pls, could you set it to read-only to preserve?

    • @ravenkongnandolasher8418
      @ravenkongnandolasher8418 Рік тому

      Thank you it helps me a lot to finish the project learning

    • @tidandan4278
      @tidandan4278 Рік тому

      thank you for help

  • @UsaSzerelem
    @UsaSzerelem Рік тому +30

    Live long and reproduce. The world needs more smart people like you. Thank you for this tutorial.

  • @pablovaldes2397
    @pablovaldes2397 4 місяці тому +15

    a lot of other creators are pretty boring in their tutorials and don't explain most little things because they often forget that a beginner is a beginner and usually doesn't know sh*t, so I'm really happy you made such an informative and engaging video, thanks man

  • @trannhatlongdau183
    @trannhatlongdau183 Рік тому +11

    I love the way you just explained the small details that I hardly find in other tutorials. Thank you so much.

  • @esportsnexus
    @esportsnexus 2 роки тому +29

    It's been couple of days; I've explored your channel & I would like to say. It's really awesome. You're first guy on Java web development who is just awesome. I've watched all these videos you've uploaded. It's awesome, & thanks for helping the Java developers! ❤

    • @MarcoCodes
      @MarcoCodes  2 роки тому +3

      Thank you, Srikant!

    • @akeemovic
      @akeemovic Рік тому +1

      I have the exact same feeling. The videos conver everything you need to get started, he encourages reading documentations and also make you aware of thing to take note of going forward.
      He's the absolute best!

  • @Mohib3
    @Mohib3 2 роки тому +9

    this is probably the best tutorial to get started with SpringBoot. Thanks! Please continue to upload more

  • @asterixcode
    @asterixcode Рік тому +3

    I just wanted to say that you channel is one of the best if not the best when it comes to Java and Spring development. I've been working with Spring and Java for 2 years now and hell yeah, I've just learned so much from you these last days consuming all your content. There are plenty of Spring Boot crash courses out there and I've watched and done couses on that myself, but essencially at the end they are all the same, either using Postman to do the requests or with the same examples and basic return datatypes. Really, it is the first time I see someone teaching Spring calling it directly from the browser and working with base64, byte array and all of that for photos, which is incredible because again, it is always the same thing out there. Thank you so much Marco for innovating and bringing INCREDIBLE value to those who are studying Java and Spring.

    • @MarcoCodes
      @MarcoCodes  Рік тому +1

      Thank you for the kind words, Lucas!

    • @asterixcode
      @asterixcode Рік тому

      @@MarcoCodes You are welcome. Keep the amazing work and you deserve this channel to grow a lot. Vielen Dank aus Brasilien/Denmark.

  • @adityapanwar1220
    @adityapanwar1220 9 місяців тому +4

    Best video on Spring Boot. I was literally afraid of Spring, but now it seems easy. Of course, I'll practice to get to know more annotations.

  • @HP_Tubcraft
    @HP_Tubcraft 2 роки тому +13

    Great video. I loved the simple part where you just sent a quick async js function in the dev console instead of Postman or Insomnia etc. Quick and easy! Awesome content and I look forward to more.

  • @elvispontes4165
    @elvispontes4165 2 роки тому +3

    You are the best web-Java-and-relatedz tutorials UA-camr!!! Please keep uploading this good content... the world is full of people wanting to learn Java for a living in need of tutorials like these.

  • @facu454
    @facu454 2 роки тому +3

    I would like to see "spring security nice and easily" at this moment. It's so hard for newbies. Thanks a lot Marco for this type of content

    • @MarcoCodes
      @MarcoCodes  2 роки тому +2

      You're welcome. Yep, Spring Security is tough for anyone, but unfortunately I won't have the time in the near future to record something about it, though this should help: www.marcobehler.com/guides/spring-security

    • @tanya66tanya
      @tanya66tanya 2 роки тому

      @@MarcoCodes Is their any article that implements spring security without WebSecurityConfigurerAdapter because it is depreciated now and every article is with the deprecated package only.
      I have tried without the ConfigurerAdapter extension but there are some things I don't understand it would be very helpful if you could point out those errors 🙂

  • @meeradad
    @meeradad 5 місяців тому

    Just love your teaching style-- it feels like we are being given a live tour of Spring programming in a way that allows us to see an application get developed, in slow motion. Please keep it up- you are doing great service by not just teaching but removing the fear of the unknown.

  • @JeanPaulSauve
    @JeanPaulSauve Рік тому +1

    I've been scouring the web looking for just this video. Clear, concise, and well explained. I'm using Spring with Kotlin, so I appreciate that you didn't waste our time trying to explain Java as well. So many tutorials, even mid-advanced ones seem to need to explain the basics every time they're shown. Kudos for keeping to the topic! I look forward to seeing more of your Spring content. Thanks!

    • @MarcoCodes
      @MarcoCodes  Рік тому +1

      Thanks for the feedback! You can find more of my (written) Spring content here -> www.marcobehler.com/guides/spring-framework

  • @checkantetibo
    @checkantetibo 9 місяців тому

    I must say this, you have the ability to explain things in a very simple way... Thumbs up to this channel

  • @LevisNyingi
    @LevisNyingi Рік тому

    Man you make spring boot seem easy, man you are a life saviour

  • @raisemonrrow54
    @raisemonrrow54 3 місяці тому

    Best tutorial for beginners. I couldn't keep up with the others and was overwhelmed, but you explained just right.

  • @barlimanbutterbeer6042
    @barlimanbutterbeer6042 2 місяці тому

    Thank you!
    This approach of refactoring code, as and when new Springboot features are introduced, was really helpful.

  • @eldi
    @eldi 2 роки тому +1

    Undoubtedly the best guide on youtube for this topic. Keep it up!

  • @veliamomo6561
    @veliamomo6561 Рік тому

    fav java spring course, 10 mins to restful controller no bs

  • @testtest-cu6sq
    @testtest-cu6sq 29 днів тому

    You really notice if someone really knows what they are doing. Thanks for helping me out

  • @marouaneghoulami4108
    @marouaneghoulami4108 Рік тому +1

    Friendly crash course, helped me brush my memory a bit.
    Thank you, we need more heros like you.
    Plus Ultras :D

  • @Videoorchard
    @Videoorchard 2 роки тому

    Please make a part 2. Please I am begging you. This is gold content

    • @MarcoCodes
      @MarcoCodes  2 роки тому

      Anything specific you'd like to see in that part?

    • @Videoorchard
      @Videoorchard 2 роки тому

      ​@@MarcoCodes Yes, how JWT can be implemented with REST ap and writing more complex rest endpoints with multiple input parameters such as /org/{department_id}/{message_id}

    • @Videoorchard
      @Videoorchard 2 роки тому

      I am finding it hard to find your contents on this

  • @GraySwanSoftware
    @GraySwanSoftware 2 роки тому +3

    Very cool. As an old-school java programmer, this was an exciting and informative look at spring boot (and intelliJ). Good work. I learned a lot and am looking forward to more!

  • @yohannestz9893
    @yohannestz9893 Рік тому

    I appreciate other creators but your video makes it seem really easy. I liked it!

  • @ZandorDaysev
    @ZandorDaysev 2 роки тому

    Oh sweet god! This is the best and the most understandable tutorial for spring boot. Among other great things, you don't treat your viewer as a complete numbskull in need of hand holding.
    Just the pure: "Here how it is done"

    • @MarcoCodes
      @MarcoCodes  2 роки тому

      Thank you for those words!

  • @Stl71
    @Stl71 11 місяців тому

    I would like to thank you for your tutorials about Maven and Spring. They helped me a lot. Greetings from Greece! Subscribed!

  • @Thedrscooby
    @Thedrscooby 2 місяці тому

    really excellent tutorial on spring boot, Java, intellij. Keep up the good work, and please post more videos, especially doing this but in Kubernetes, that would be fun!!!

  • @emiresen546
    @emiresen546 8 місяців тому

    Thank you,!!! Very well explained haven't lost my attention for a second.

  • @MarcMagix
    @MarcMagix 2 роки тому

    By far the best Tutorial on this topic :)

  • @Kevin-gr5rs
    @Kevin-gr5rs 2 роки тому +2

    Here before this channel blows up

  • @SudiptaBose-x1n
    @SudiptaBose-x1n 2 місяці тому

    🙏 you explained each things very easy way, thanks man!🙇 God bless you 💫

  • @azamatabdullaev4580
    @azamatabdullaev4580 2 роки тому

    Thanks, the best Spring crash course I've seen

  • @Uvi3112
    @Uvi3112 8 місяців тому

    my hello world worked!! thanks man!

  • @sudhakuppachi2244
    @sudhakuppachi2244 2 роки тому

    I recently came across your channel. The way you explain is really awesome. Thank you for teaching wonderful way.

    • @MarcoCodes
      @MarcoCodes  2 роки тому

      Thank you for the feedback!

  • @vijaykumarreddykadle4969
    @vijaykumarreddykadle4969 2 місяці тому

    Marco, please produce more on spring Boot 😊

  • @philliplima4999
    @philliplima4999 Рік тому

    Exceptional. I've learned so much with this course

  • @walidrashed9075
    @walidrashed9075 2 роки тому +2

    Thank you Marco for this amazing tutorial, I learned a lot today, keep it up!

  • @Andrianodna
    @Andrianodna 2 роки тому

    You're single-handedly taking care of my php laravel to java career transition lol. If i had money to spare right now, i'd buy your courses... Maybe the next year :p
    Thanks for the great material!

    • @MarcoCodes
      @MarcoCodes  2 роки тому +1

      Good luck with the transition!

    • @lukinkoo
      @lukinkoo Рік тому

      Why are you doing the transition if I may ask?

  • @libertydaniel6366
    @libertydaniel6366 9 місяців тому

    Thank you for the amazing course. can't wait for more.

  • @jaortiiss
    @jaortiiss 2 роки тому

    Marco many thanks for your channel and your effort in general!

  • @majedulislam96
    @majedulislam96 2 роки тому

    Thanks marco
    This is one of the tutorial for beginners

  • @TechWorldWithSerdar
    @TechWorldWithSerdar 8 місяців тому

    very good tutorial, which explains all the important things briefly, thank you very much

  • @arielcastillo7925
    @arielcastillo7925 Рік тому

    i saw this video two times and i love it♥

  • @MaxTaylorHayden
    @MaxTaylorHayden Рік тому

    Fantastic course, thanks for you quick guide on spring boot!

  • @JoseManuelJimenez1967
    @JoseManuelJimenez1967 2 роки тому

    Thanks for your hard work, looking forward for more videos, greetings from Spain!

  • @kaka_tutorails8765
    @kaka_tutorails8765 3 місяці тому

    Thanks man I learn a lot from you.

  • @syedhabeebuddin7637
    @syedhabeebuddin7637 24 дні тому

    Awesome !!!. Thanks a lot Marco.

  • @cut3Shahzad
    @cut3Shahzad 2 роки тому

    Marco ❤️ I found you again. Love to watch your show..

  • @CoderGrammer
    @CoderGrammer 2 роки тому

    Great start Marco. Looking forward to more of your content.

  • @badripaudel77
    @badripaudel77 2 роки тому +2

    Although I'm comfortable with spring, but it is still worth watching. I'm expecting more advanced and practical tutorials soon 🔜. Loved it

  • @zed8484
    @zed8484 2 роки тому

    your great marco. very thanks. your language and knowledge is great for us(juniors). please keep it up(security-data-shop website-microservise...) . again very very thanks

  • @SaurabhNative
    @SaurabhNative Рік тому +1

    Really great tutorial. Thanks for making such great, crisp and awesome content.

  • @topherreynolds3999
    @topherreynolds3999 Рік тому

    Thanks man! That was an excellent intro! Peace!

  • @df-hh7yd
    @df-hh7yd Рік тому

    Thanks again for the videos Marco!

  • @michelchaghoury9629
    @michelchaghoury9629 2 роки тому

    i subscribed but what i am expecting is that there will be other vids like this great one, thank you and keep going

  • @aalFarhad
    @aalFarhad 2 роки тому

    You are amazing. Well done. And, please keep up the good work.

  • @albinsanthosh3265
    @albinsanthosh3265 8 місяців тому

    Thanks for this course. It was helpful.

  • @briandusenberry5973
    @briandusenberry5973 2 роки тому

    All of your content is just outstanding. Thank you for the work that you put into these videos!

  • @himangsusarkar6737
    @himangsusarkar6737 2 роки тому

    Thanks a lot, dear sir. This video is really helpful to me. The last few days I found a spring boot easy tutorial. And That's it. Thanks again

  • @MrRetr1
    @MrRetr1 2 роки тому

    love it Keep it up ! same as Maven tutorial, super well done and ez to understand :) TY again and keep it up !!!!

  • @gpnraj2684
    @gpnraj2684 11 місяців тому

    Excellent course ..thank you for the course

  • @tipazas
    @tipazas 2 роки тому

    Nice & Easy, just as said. Keep it going!

  • @ozzywiz4979
    @ozzywiz4979 Рік тому

    Hi Marco, your tutorials are awesome thank you very much for the effort of structuring it. I have shared a Link to your Channel in my university FB Channel and recommended it.

  • @duartelucas8129
    @duartelucas8129 2 роки тому

    Amazing, Marco! Thank you!

  • @luisferreira5895
    @luisferreira5895 Рік тому

    Excelent tutorial, useful and to the point. Thank you!

  • @paulthomas1052
    @paulthomas1052 2 роки тому

    Great tutorial - full of useful tips and tricks, Thanks,

  • @tornike3755
    @tornike3755 2 роки тому

    Very well made content. Keep it up!🙌

  • @elliotsaii7904
    @elliotsaii7904 2 роки тому

    very good explanation, waiting for spring boot master v:3

  • @chalu24
    @chalu24 2 роки тому

    Great video.. looking for more projects..

  • @arnay07
    @arnay07 2 роки тому

    thank you man that was just an amazing tutorial have helped me so much

  • @dhruvsolanki4473
    @dhruvsolanki4473 5 місяців тому +1

    Really helpful.

  • @Mnbvc-oc8wv
    @Mnbvc-oc8wv 2 роки тому

    Thank for the lesson, it's very understandable and interesting 😍

  • @picknice
    @picknice 4 місяці тому

    thanks man u made it simple

  • @BruceYangtek
    @BruceYangtek Рік тому

    Great tutorial, thank you!

  • @vesakk72
    @vesakk72 Рік тому

    Pure gold! Thank you!

  • @leovalde7z
    @leovalde7z 9 місяців тому

    This is excellent! Should I complete this and then take your confident spring course? or vice versa

    • @MarcoCodes
      @MarcoCodes  8 місяців тому

      This one first, then Confident Spring.

  • @red2n
    @red2n 2 роки тому +1

    Hi hello you have done a awesome job in teaching us. please do more videos regarding SPRINGBOOT and other java related stuffs.

  • @StarContract
    @StarContract Рік тому +1

    Giga Chad tutorial bro

    • @MarcoCodes
      @MarcoCodes  Рік тому

      Not 100% sure what "Giga Chad" is, but I'll take it :D

  • @xychromosome6510
    @xychromosome6510 2 роки тому

    keep up, nice work. more videos please. subscribed.

  • @alungilebidla67
    @alungilebidla67 Місяць тому

    Hi everyone may I ask anyone to explain please @09:42 when I try to run mine it gives me an error could not find or load main class, this is my 1st time using springboot

  • @gera.v.v
    @gera.v.v 2 роки тому

    Marco, you cool! need some videos about kafka basics, and jenkins basics.

  • @monotroupe6294
    @monotroupe6294 Рік тому

    Please make spring security crash course. Would love to see more of your vids.....

    • @MarcoCodes
      @MarcoCodes  Рік тому +2

      As an alternative, this is as good as it gets: www.marcobehler.com/guides/spring-security

  • @plumes551
    @plumes551 2 місяці тому

    35:10 append consumes = "multipart/form-data" to PostMapping annotation if you encountered 415 Unsupported Media Type error when upload file.
    @PostMapping(value = "/photoz", consumes = "multipart/form-data")

  • @akrm3240
    @akrm3240 Рік тому

    Thank you! That was super helpful...

  • @sovrinfo
    @sovrinfo 2 роки тому

    Thanks you a lot. Very Cool. Please continue!

  • @Thedrscooby
    @Thedrscooby 2 місяці тому

    I had to click in intellij on the maven Lifecycle -> package to get the maven working to make the jar file. getting too many errors from the command line. Excellent tutorial.

  • @normandrental2695
    @normandrental2695 Рік тому

    Thank you very much!!🎉❤

  • @YA51NA11
    @YA51NA11 2 роки тому +2

    My PostMapping is not giving out the fileName, i have done the requestBody but when i place the code into the console, it always gives out null?

    • @MarcoCodes
      @MarcoCodes  2 роки тому

      Post your code in a GitHub repo somewhere and reply the link here -it's a bit hard to comment otherwise.

    • @MrRetr1
      @MrRetr1 2 роки тому

      same

    • @MrRetr1
      @MrRetr1 2 роки тому +2

      let photo = {"fileName": "hello6666666.jpg"}; you use filename with n not N uppercase that is the problem. When u try to do it from your browser command line
      let photo = {"filename": "hello6666666.jpg"}; SO NOT like this

  • @pranavmahajan4190
    @pranavmahajan4190 Рік тому

    Thanks so much. Its wonderful. I did it and it worked really well. Can you please do such small projects that cover different aspects of springboot?

    • @MarcoCodes
      @MarcoCodes  Рік тому +1

      Thanks! As for pet projects, that's essentially what my ua-cam.com/users/playlist?app=desktop&list=PLIRBoI92yMalMpixA5pFYLgCyCp1s3zxd series is for!

    • @pranavmahajan4190
      @pranavmahajan4190 Рік тому

      @@MarcoCodes- Thanks for your response. I will check out the link you shared.

  • @bilalthiha
    @bilalthiha Місяць тому

    Great tutorial! Thanks a lot Marco. You single-handedly defeated all the so-called trainers who offer never-ending paid courses on Spring.

  • @bsyc26
    @bsyc26 Місяць тому

    Marco, how come you are so handsome, so wisdom, so competent to work for JetBrain and so kind to share knowledge? 😢

  • @ShoutingPort6
    @ShoutingPort6 21 день тому

    for some reason the code in the downloading images section does not work for me. the ide raises no error however when i go to download after uploading the image it says the mapping could not be found. any ideas how to fix this?
    nevermind forgot to put restcontroller on the download controller class. thanks for the great tutorial

  • @maksadnahibhoolna-wc2ef
    @maksadnahibhoolna-wc2ef Рік тому +1

    ​ @Marco Codes at 18:30 I m facing a problem with my spring application failing to properly convert this List into JSON format. The output from localhost:8080/photoz endpoint, I am receiving is as follows
    [{"id":"1"}]
    clearly filename field is missing in the JSON format. Any idea what could be the issue ?

    • @maksadnahibhoolna-wc2ef
      @maksadnahibhoolna-wc2ef Рік тому

      I found out the cause which was that I hadn't defined getters and setters for filename field, thus it was behaving like that !!
      But what's the reasoning behind this anyways ?

    • @MarcoCodes
      @MarcoCodes  Рік тому

      Do you have getters & setters for the filename field?

    • @maksadnahibhoolna-wc2ef
      @maksadnahibhoolna-wc2ef Рік тому

      @@MarcoCodes yes that was the issue, but I don't understand why this was the issue ?

    • @MarcoCodes
      @MarcoCodes  Рік тому

      That is just the way Jackson, the library which does the JSON conversion, works by default, i.e. expecting getters and setters. There are ways to change this, i.e. serialize/deserialize fields directly, but by default, that's the way it is :)

  • @autumnGH
    @autumnGH 5 місяців тому +1

    good content

  • @marchevka22x
    @marchevka22x Рік тому

    Thank you for the very good videos ... There is much about photos, and their formats, in this tutorial, which I am not fully familiar with. I would think a similar video using an object (a Plain Old Java Object or "POJO" such as a Person, Student or Book) would be a good learning example.

  • @m3hdim3hdi
    @m3hdim3hdi Рік тому

    31:23 how did you get that list of validation annotations?

    • @MarcoCodes
      @MarcoCodes  Рік тому

      There is that tiny button I clicked one second earlier

  • @chaosknight3175
    @chaosknight3175 6 місяців тому

    Nice tutorial. I suggest that you could use an HTTP client to interact with the API instead of using the html/javascript shenanigans.

  • @tommywong4689
    @tommywong4689 4 місяці тому

    Does community version of InterlliJ has the SQL dialects 1:02:32?

  • @cstogocan
    @cstogocan Рік тому

    better than a semester of web services at the university

  • @TheBadFred
    @TheBadFred 10 місяців тому

    On 48:14 is the photozService the usual Sigleton or a Prototyp?

    • @MarcoCodes
      @MarcoCodes  10 місяців тому

      Singleton.

    • @TheBadFred
      @TheBadFred 10 місяців тому

      @@MarcoCodesLast Time I used Spring, I "wired" my beans with XML, still better than J2EE.