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 );
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
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! ❤
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!
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.
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.
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.
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
@@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 🙂
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.
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 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}
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!
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"
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!!!
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!
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
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.
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
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")
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.
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
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
@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 ?
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 ?
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 :)
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.
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
);
Thanks for writing it up.
@@MarcoCodes can we replace identity with GENERATED ALWAYS AS IDENTITY
@@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?
Thank you it helps me a lot to finish the project learning
thank you for help
Live long and reproduce. The world needs more smart people like you. Thank you for this tutorial.
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
I love the way you just explained the small details that I hardly find in other tutorials. Thank you so much.
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! ❤
Thank you, Srikant!
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!
this is probably the best tutorial to get started with SpringBoot. Thanks! Please continue to upload more
That's the plan!
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.
Thank you for the kind words, Lucas!
@@MarcoCodes You are welcome. Keep the amazing work and you deserve this channel to grow a lot. Vielen Dank aus Brasilien/Denmark.
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.
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.
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.
Thanks, Elvis!
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
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
@@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 🙂
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.
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!
Thanks for the feedback! You can find more of my (written) Spring content here -> www.marcobehler.com/guides/spring-framework
I must say this, you have the ability to explain things in a very simple way... Thumbs up to this channel
Man you make spring boot seem easy, man you are a life saviour
Best tutorial for beginners. I couldn't keep up with the others and was overwhelmed, but you explained just right.
Thank you!
This approach of refactoring code, as and when new Springboot features are introduced, was really helpful.
Undoubtedly the best guide on youtube for this topic. Keep it up!
Thanks, will do!
fav java spring course, 10 mins to restful controller no bs
You really notice if someone really knows what they are doing. Thanks for helping me out
Friendly crash course, helped me brush my memory a bit.
Thank you, we need more heros like you.
Plus Ultras :D
Please make a part 2. Please I am begging you. This is gold content
Anything specific you'd like to see in that part?
@@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}
I am finding it hard to find your contents on this
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!
I appreciate other creators but your video makes it seem really easy. I liked it!
Glad you liked it!
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"
Thank you for those words!
I would like to thank you for your tutorials about Maven and Spring. They helped me a lot. Greetings from Greece! Subscribed!
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!!!
Thank you,!!! Very well explained haven't lost my attention for a second.
By far the best Tutorial on this topic :)
thank you :)
Here before this channel blows up
🙏 you explained each things very easy way, thanks man!🙇 God bless you 💫
Thanks, the best Spring crash course I've seen
Thanks!
my hello world worked!! thanks man!
I recently came across your channel. The way you explain is really awesome. Thank you for teaching wonderful way.
Thank you for the feedback!
Marco, please produce more on spring Boot 😊
Exceptional. I've learned so much with this course
Happy to hear that!
Thank you Marco for this amazing tutorial, I learned a lot today, keep it up!
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!
Good luck with the transition!
Why are you doing the transition if I may ask?
Thank you for the amazing course. can't wait for more.
Marco many thanks for your channel and your effort in general!
Many thanks!
Thanks marco
This is one of the tutorial for beginners
very good tutorial, which explains all the important things briefly, thank you very much
i saw this video two times and i love it♥
Fantastic course, thanks for you quick guide on spring boot!
Thanks for your hard work, looking forward for more videos, greetings from Spain!
Thanks man I learn a lot from you.
Awesome !!!. Thanks a lot Marco.
Marco ❤️ I found you again. Love to watch your show..
Great start Marco. Looking forward to more of your content.
Although I'm comfortable with spring, but it is still worth watching. I'm expecting more advanced and practical tutorials soon 🔜. Loved it
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
Really great tutorial. Thanks for making such great, crisp and awesome content.
Thanks man! That was an excellent intro! Peace!
Thanks again for the videos Marco!
i subscribed but what i am expecting is that there will be other vids like this great one, thank you and keep going
That's the plan!
You are amazing. Well done. And, please keep up the good work.
Thank you! Will do!
Thanks for this course. It was helpful.
All of your content is just outstanding. Thank you for the work that you put into these videos!
I appreciate that!
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
love it Keep it up ! same as Maven tutorial, super well done and ez to understand :) TY again and keep it up !!!!
Thank you!
Excellent course ..thank you for the course
Nice & Easy, just as said. Keep it going!
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.
Amazing, Marco! Thank you!
Excelent tutorial, useful and to the point. Thank you!
Great tutorial - full of useful tips and tricks, Thanks,
Glad you enjoyed it!
Very well made content. Keep it up!🙌
very good explanation, waiting for spring boot master v:3
Great video.. looking for more projects..
thank you man that was just an amazing tutorial have helped me so much
You're welcome!
Really helpful.
Thank for the lesson, it's very understandable and interesting 😍
thanks man u made it simple
Great tutorial, thank you!
Pure gold! Thank you!
This is excellent! Should I complete this and then take your confident spring course? or vice versa
This one first, then Confident Spring.
Hi hello you have done a awesome job in teaching us. please do more videos regarding SPRINGBOOT and other java related stuffs.
Giga Chad tutorial bro
Not 100% sure what "Giga Chad" is, but I'll take it :D
keep up, nice work. more videos please. subscribed.
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
Marco, you cool! need some videos about kafka basics, and jenkins basics.
Please make spring security crash course. Would love to see more of your vids.....
As an alternative, this is as good as it gets: www.marcobehler.com/guides/spring-security
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")
Thank you! That was super helpful...
Thanks you a lot. Very Cool. Please continue!
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.
Thank you very much!!🎉❤
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?
Post your code in a GitHub repo somewhere and reply the link here -it's a bit hard to comment otherwise.
same
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
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?
Thanks! As for pet projects, that's essentially what my ua-cam.com/users/playlist?app=desktop&list=PLIRBoI92yMalMpixA5pFYLgCyCp1s3zxd series is for!
@@MarcoCodes- Thanks for your response. I will check out the link you shared.
Great tutorial! Thanks a lot Marco. You single-handedly defeated all the so-called trainers who offer never-ending paid courses on Spring.
Marco, how come you are so handsome, so wisdom, so competent to work for JetBrain and so kind to share knowledge? 😢
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
@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 ?
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 ?
Do you have getters & setters for the filename field?
@@MarcoCodes yes that was the issue, but I don't understand why this was the issue ?
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 :)
good content
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.
31:23 how did you get that list of validation annotations?
There is that tiny button I clicked one second earlier
Nice tutorial. I suggest that you could use an HTTP client to interact with the API instead of using the html/javascript shenanigans.
Does community version of InterlliJ has the SQL dialects 1:02:32?
Nope.
better than a semester of web services at the university
On 48:14 is the photozService the usual Sigleton or a Prototyp?
Singleton.
@@MarcoCodesLast Time I used Spring, I "wired" my beans with XML, still better than J2EE.