#13 Spring Boot Web

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 161

  • @Alcatraz-23
    @Alcatraz-23 8 месяцев назад +26

    Pls continue, we need this series, its a gem, every video is a masterpiece!!

  • @anupamtripathi3957
    @anupamtripathi3957 5 месяцев назад +3

    Getting a better understanding of springboot only because of your perfect explanations and examples. Keep it up. Thank you so much

    • @Naninaninani5209
      @Naninaninani5209 5 месяцев назад

      Hello
      Have you tried it in your system
      It's was showing an error in pom.xml file

  • @lootster
    @lootster 8 месяцев назад +5

    00:01 Understanding client-server architecture and its application in web and mobile development
    02:03 Server used to send layout and data, but now separate applications for front and back end
    04:04 Adding Spring Web dependency for Spring Boot Web startup project
    05:59 Spring Boot allows running a web project without coding
    08:08 Creating a controller class to handle server requests
    10:20 Using @Controller in Spring Boot for handling multiple requests
    12:24 Spring web returning data
    14:24 Using Rest Controller to return data
    16:31 Introduction to Spring MVC front controller
    18:22 Sending data from client to server

  • @Ayoubchammakh
    @Ayoubchammakh 7 месяцев назад +2

    i don't know what to say but you make spring looks like very easy to understand, Thanks from Morocco

  • @mathavan7209
    @mathavan7209 8 месяцев назад +10

    Please continue this series sir, your explanation was simple and good

  • @ameybhandari6865
    @ameybhandari6865 7 месяцев назад +1

    The flow of this video and the overall content for the spring playlist is quite awesome. Keep it up..

  • @ankit-sahani
    @ankit-sahani 4 месяца назад

    I am very grateful I found you channel Sir. I am enjoying every videos of you your teaching style is so awesome I am not getting bore. By the way thankyou so much for providing this course .

  • @umag4084
    @umag4084 7 месяцев назад

    Thank you so much for what you are doing. There is a video for every step of the learning process. Immensely appreciate your efforts!! Makes our life very easy!!

  • @kushal6065
    @kushal6065 5 месяцев назад

    Pls continue, we need this series, its a gem, every video is a masterpiece!!

  • @zeeshanchoudhary4785
    @zeeshanchoudhary4785 7 месяцев назад

    Please continue, this series is very helpful to learn spring boot in a simple way.

  • @jairramirez6900
    @jairramirez6900 7 месяцев назад +1

    Working with MVC pattern is awesome!

  • @adityabhadoriya3191
    @adityabhadoriya3191 8 месяцев назад +2

    Great explanation ❤ thanks for sharing this series please continue

  • @arijitkumarpandab4232
    @arijitkumarpandab4232 8 месяцев назад +1

    Thank You So much for these videos, these videos are clearing my concepts.❤❤

  • @ЕвгенийВовк-ы7ь
    @ЕвгенийВовк-ы7ь 7 месяцев назад

    Your explanations and examples are awesome!
    Please keep it up.
    And thank you so much🙏

  • @christophersalazar6984
    @christophersalazar6984 6 месяцев назад

    These videos are so well explained! Thank you for these series

  • @Aaaronka
    @Aaaronka 8 месяцев назад

    I'm learning a lot from your videos! Thanks!

  • @johnrusselledomingo170
    @johnrusselledomingo170 7 месяцев назад

    I'm learning a lot from your videos! more Please!

  • @kmaneesha4383
    @kmaneesha4383 Месяц назад

    Blessed with your teaching ❤

  • @abishekmagar8790
    @abishekmagar8790 7 месяцев назад

    Awesome Lecture Sir... I'm enjoying your spring 6 series

  • @mariammohamedmostafa5797
    @mariammohamedmostafa5797 2 дня назад

    i love spring because of you , thank you sooo much

  • @sohamborkar2117
    @sohamborkar2117 7 месяцев назад +1

    Nice video, really loved way you explain

  • @HeyderMuxtarli
    @HeyderMuxtarli 7 месяцев назад

    Excellent spring series

  • @tapassaha6113
    @tapassaha6113 7 месяцев назад

    Loved the series... please continue.

  • @globaleducationalhub2019
    @globaleducationalhub2019 3 месяца назад

    Wonderful Navin, Keep up the good work

  • @PerProgrammer
    @PerProgrammer 3 месяца назад

    Thanks..Intresting information that need to be taken up again ...

  • @user-cd8cg3yr1q
    @user-cd8cg3yr1q 7 месяцев назад

    greate series , thank you for posting this , pleaase continue keep posting

  • @akhildusa6708
    @akhildusa6708 7 месяцев назад

    Very stupendous videos sir, love your interpretations.

  • @sci-clips6961
    @sci-clips6961 5 месяцев назад

    This is just Awesome, please continue sir

  • @AkashKumar10134
    @AkashKumar10134 5 месяцев назад

    Great work sir on explanation .

  • @orekisday
    @orekisday 8 месяцев назад

    this man is outstanding!

  • @viveksingh283
    @viveksingh283 5 месяцев назад

    This course is awesome!

  • @venkatbongi1945
    @venkatbongi1945 2 месяца назад

    Awesome explanation sir 🎉

  • @timetorelax8997
    @timetorelax8997 19 дней назад

    1. @Controller
    Marks a class as a Spring MVC Controller.
    Primarily used to handle web page navigation by returning view names.
    It is often combined with a view template engine (e.g., Thymeleaf, JSP).
    By default, methods in a @Controller class return a view name (not raw data).
    Example:
    java
    Copy code
    @Controller
    public class HomeController {
    @RequestMapping("/home")
    public String homePage() {
    return "home"; // Resolves to home.jsp or home.html (view template).
    }
    }
    2. @RestController
    Combines @Controller and @ResponseBody.
    Indicates that the class is designed for REST APIs.
    Methods return data (e.g., JSON, XML) directly instead of a view name.
    Example:
    java
    Copy code
    @RestController
    public class ApiController {
    @RequestMapping("/api/data")
    public String getData() {
    return "This is JSON data"; // Response body returned directly.
    }
    }
    3. @ResponseBody
    Indicates that a method's return value should be written directly to the HTTP response body (as JSON or plain text) instead of rendering a view.
    Often used in @Controller methods when returning raw data.
    Example with @Controller:
    java
    Copy code
    @Controller
    public class DataController {
    @RequestMapping("/api/message")
    @ResponseBody
    public String getMessage() {
    return "Hello, this is a response from @Controller with @ResponseBody.";
    }
    }
    4. @RequestMapping
    Maps HTTP requests to specific handler methods.
    Can be used on classes (for a base URL) or methods (for specific endpoints).
    Supports additional attributes like method (e.g., GET, POST).
    Example with Method Mapping:
    java
    Copy code
    @RestController
    public class RequestController {
    @RequestMapping(value = "/api/users", method = RequestMethod.GET)
    public List getUsers() {
    return List.of("Alice", "Bob", "Charlie");
    }
    }
    Example with Class-Level Mapping:
    java
    Copy code
    @RestController
    @RequestMapping("/api")
    public class UserController {
    @RequestMapping("/users")
    public List getUsers() {
    return List.of("Alice", "Bob", "Charlie");
    }
    @RequestMapping("/roles")
    public List getRoles() {
    return List.of("Admin", "User", "Guest");
    }
    }
    Differences and Use Cases
    Annotation Use Case
    @Controller For rendering views (e.g., JSP, Thymeleaf). Often used in web applications.
    @RestController For building RESTful APIs. Methods return data directly (e.g., JSON).
    @ResponseBody Converts method return values to HTTP response body (use in @Controller for raw data).
    @RequestMapping Maps HTTP requests to handler methods. Flexible for REST and traditional controllers.

  • @bilalhabesha616
    @bilalhabesha616 8 месяцев назад

    please sir continue ... to our{Junior java developers}
    because u have the presentation skill and ur lecture is clear

  • @rachelsamson5345
    @rachelsamson5345 5 месяцев назад

    Thanks for the great explanation-it really helped!

  • @pawarswapnil97
    @pawarswapnil97 6 месяцев назад

    we need this series!
    thanks!

  • @skia515
    @skia515 4 месяца назад

    thanks for this wonderful playlist

  • @qhristec
    @qhristec 8 месяцев назад

    Great one. I am actually following your footsteps.

  • @YouTubekunal43
    @YouTubekunal43 Месяц назад

    Best explanation 🤚🥇

  • @rubyzz4377
    @rubyzz4377 День назад

    Thank you so much for this series sir

  • @LamNGUYEN-r8u5n
    @LamNGUYEN-r8u5n 13 дней назад

    Great explanation. Thank you.

  • @mirowahedali3962
    @mirowahedali3962 8 месяцев назад +1

    Very easy to understand

  • @richardchacha720
    @richardchacha720 3 месяца назад

    you are a good tutor👌

  • @sathishgokinapalli7890
    @sathishgokinapalli7890 7 месяцев назад

    Thanks a lot for this series

  • @bunnyvenky8791
    @bunnyvenky8791 8 месяцев назад +2

    Thank you so much usefull Sir❤❤

  • @JanhaviKrishna
    @JanhaviKrishna 7 месяцев назад

    awesome explanation

  • @naraynwetal6544
    @naraynwetal6544 6 месяцев назад

    Excellent sir G.

  • @ChandanKSwain
    @ChandanKSwain 8 месяцев назад

    I came here for revise, it's so informative.

  • @sonusangwan326
    @sonusangwan326 8 месяцев назад

    Nice explanation Naveen

  • @arsalankhroush7127
    @arsalankhroush7127 8 месяцев назад

    Waiting for the next video, great series

  • @sonusangwan326
    @sonusangwan326 8 месяцев назад

    Superb Content

  • @sarthakguptashow
    @sarthakguptashow Месяц назад

    Best among the rest 🎉

  • @sravankumar5634
    @sravankumar5634 2 месяца назад +1

    Great Job

  • @harshalashi
    @harshalashi 6 месяцев назад

    Client sends an HTTP Request which can be in the form of JSON or XML, Jackson is used for parsing this data into Java Objects. This data is send on a server which can be deduced to compared with our JVM. This server serves HTTP Request and is built upon Java Servlet. Tomcat is responsible for management of this server.

  • @vinukanth
    @vinukanth 4 месяца назад

    Reachin target. wooohooo !!!

  • @mohamadkassimmadarsha6442
    @mohamadkassimmadarsha6442 8 месяцев назад

    waiting for next videos sir, thank you

  • @usmanshj7545
    @usmanshj7545 8 месяцев назад

    Great Stuff ❤

  • @RealRameshBabu
    @RealRameshBabu 6 месяцев назад

    Another awesome video

  • @tonyklement371
    @tonyklement371 8 месяцев назад

    Nice Video sir Thank You

  • @Pratik-Shrivastav
    @Pratik-Shrivastav 3 месяца назад

    Sir, please make a series on Hibernate.

  • @gonzalob.2428
    @gonzalob.2428 8 месяцев назад

    Let's go on Navin!!! 🥇🥇

  • @momobearbear
    @momobearbear 4 месяца назад

    I am not just taught, but educated in the art of curiosity

  • @golcuk2076
    @golcuk2076 8 месяцев назад

    Amazing indeed.

  • @sharmamohit_17
    @sharmamohit_17 5 месяцев назад

    You educate for sure!!!!

  • @harshalashi
    @harshalashi 6 месяцев назад

    When a HTTP request is sent from client to the server, controller is the entry point. Within the server, the Spring Boot provides a front controller which serves as a bridge between request sent and the actual controller. Our application can have multiple controllers, then how does it recognize which controller to use. This is all where in the Front Controller comes into the picture.

  • @nidhidilesh3122
    @nidhidilesh3122 6 месяцев назад

    Are you able to write with both hands ? 18:10 vs 18:20

    • @josesagarra
      @josesagarra 6 месяцев назад

      he just reversed webcam. look at his tshirt.

  • @anonymouCodePlay
    @anonymouCodePlay 8 месяцев назад +1

    Commenting for more videos

  • @sachin2440
    @sachin2440 8 месяцев назад

    Sir , Your videos are Amazing, Please upload them timely. Waiting for your next video.

  • @its_joel7324
    @its_joel7324 8 месяцев назад +2

    Sir, the FrontController is also called as DispatcherServlet right ?, managing all the web requests

    • @tamaladhikari7950
      @tamaladhikari7950 8 месяцев назад

      Yes we used to call that from old servlet concept

  • @Shaik.Salmasulthana
    @Shaik.Salmasulthana 8 месяцев назад

    Nice explanation

  • @atulvairale9415
    @atulvairale9415 8 месяцев назад

    Simple and deep

  • @kishanrawatxo
    @kishanrawatxo 8 месяцев назад

    Thank you sir for this video ❤

  • @GuessGameFun
    @GuessGameFun 6 месяцев назад

    Thank you for the videos

  • @gopikrishnacheekati1689
    @gopikrishnacheekati1689 8 месяцев назад

    Plz continue this series

  • @vajrakowtilyab4822
    @vajrakowtilyab4822 5 месяцев назад

    Please continue the series SIR

  • @TcoerAkashVerma
    @TcoerAkashVerma Месяц назад

    thank you a lot sir so excited

  • @AmitYaduvanshi_417
    @AmitYaduvanshi_417 8 месяцев назад

    this series gives me excitement & good dopamine which i usually get from WWE in my childhood 😂

  • @yashwanthraj1146
    @yashwanthraj1146 8 месяцев назад

    Hopefully waiting for future videos.

  • @gopikrishnacheekati1689
    @gopikrishnacheekati1689 8 месяцев назад

    Tnq guru more concepts vedios u can upload plz on java back end developer

  • @sonusangwan326
    @sonusangwan326 8 месяцев назад

    Waiting for next video😊

  • @cris_12535
    @cris_12535 8 месяцев назад +1

    Sir please upload videos regularly sir 😊

  • @pranaypaul6361
    @pranaypaul6361 8 месяцев назад

    simplicity redefined

  • @sangeethasaravanane3691
    @sangeethasaravanane3691 8 месяцев назад

    good video. Thanks sir.

  • @Hemanth-ic8zq
    @Hemanth-ic8zq 8 месяцев назад

    Hello Alien. Today i saw your playlist ,My mind blocked. May I know that how can you able to learnt those things ?
    Apart from that your teaching is Excellent. Sorry ,

  • @naraynwetal6544
    @naraynwetal6544 6 месяцев назад

    Thank you very much

  • @AjayKumar-go4jr
    @AjayKumar-go4jr 5 месяцев назад

    Nice Content!

  • @CodeProWhite
    @CodeProWhite 8 месяцев назад

    thanks for making the video

  • @zer0-ant
    @zer0-ant 8 месяцев назад

    Thank you so much sir

  • @sonusangwan326
    @sonusangwan326 8 месяцев назад

    We hope that you will upload next video soon😊

  • @LekkyDev
    @LekkyDev 7 месяцев назад

    How do you open multiple projects in same window?
    I see you could switch with tabs between multiple projects.

  • @milindsankeshware423
    @milindsankeshware423 5 месяцев назад

    If we write Controller outside of sinpleWebApp, do we need to add any other configuration?

  • @sohamborkar2117
    @sohamborkar2117 7 месяцев назад

    Or maybe, just I am lying here... 8:40 🤣🤣

  • @HARIHARAN-mg3fk
    @HARIHARAN-mg3fk 8 месяцев назад

    We I'll wait for next episode Navin

  • @pavanprashanth5704
    @pavanprashanth5704 4 месяца назад

    Sir can you do tutorial on nginx after this tutorial

  • @java_learn6447
    @java_learn6447 8 месяцев назад

    Thank you sir

  • @noorskofficial
    @noorskofficial 8 месяцев назад

    any plan to start blockchain tutorial. its very hard to find the best training in blockchain, mostly on private blockchain

  • @dayakarreddypalwai5574
    @dayakarreddypalwai5574 8 месяцев назад

    Thanks a lot

  • @DevGhost97
    @DevGhost97 2 месяца назад

    Thank you sir

  • @momobearbear
    @momobearbear 4 месяца назад

    MVC is awesome

  • @teoynwa6405
    @teoynwa6405 29 дней назад

    He is really good