Spring Boot Tutorial 5 - Add a Rest Controller

preview_player
Показать описание
This is Tutorial 5 of the Series of 2019 Spring Boot Tutorials. In this tutorials we are going to add a Rest Controller

This is the Best Spring Boot Tutorial Ever. Learn Spring Boot Today.

Steps to follow to add a Rest Controller:
1. Add the starter web dependency
2. Add the starter mvc dependency
3. Create a class (simple .java file)
4. Anotate the class with @RestController
5. Write the method you want to run
6. Anotate the method with @RequestMapping

Sure you can add a Rest Controller now and remember to subscribe and leave a comment to let me know how you feel
Рекомендации по теме
Комментарии
Автор

I walked through a lot tutorials which only put me on nerves, a lot of crap, some people don't have a gift of teaching and don't wanna work on it, you have a gift man, thank you for helping me. keep it up.

giulianocarmona
Автор

Finally, another teacher like "Java Brains" who knows how to explain clearly. Thank you!

brandonflorida
Автор

Clearly explained! You're the best, man!

ambrosiafem
Автор

Thank you So much my problem will solved.

nimishmothghare
Автор

Thanks, a teacher I'm looking for.

kensinaon
Автор

Thank you professor Kindson. Congrats from Brazil! ;)

msdsdev
Автор

Thank you very much..!, Everything explained clearly.

murthazapk
Автор

thank you so much sir, in fact you are the one motivating me here looking forward to finish this course. thank you

radhoueneberrzig
Автор

My code is not working . Its neither give error nor output. Help me

krishnabharadva
Автор

Thank you tech pro, but my question is : what the deference between @Controller and @RestController

hermangeku
Автор

pleas help me i'm error connection refused

sreythinhloem
Автор

I'm getting white label error page

gopikumartaduvai
Автор

when l typed localhost it''s opening phpmyadmin dashboard

talleycleo
Автор

when l type localhost it opening Xampp why is it that

talleycleo