Understanding Layered Architecture in Spring Boot | Best Practices and Implementation

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

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

  • @rryann088
    @rryann088 5 месяцев назад +2

    thank you so much for explaining in simple terms! Looking forward to learn more from your contents in depth and become a master in spring boot!!!!

  • @Abhishek_Poddar
    @Abhishek_Poddar 3 месяца назад +1

    Good explanation, worth my time ☺️✨
    Just dont stop please keep adding such content.

  • @ShivamKshatriy-kk4fj
    @ShivamKshatriy-kk4fj 5 месяцев назад

    We need more videos for spring boot in details.
    Thanks, for your effort and time.❤

  • @RohitChilhorkar
    @RohitChilhorkar Месяц назад +1

    This is too good!!

  • @ManojPatel-jr1uv
    @ManojPatel-jr1uv 5 месяцев назад +1

    very good stuff , thanks for your time and effort 👏

  • @universal4334
    @universal4334 5 месяцев назад +1

    Please do a video on domain driven setup as well

  • @Abhishek_Poddar
    @Abhishek_Poddar 3 месяца назад +1

    Could you please also write here something about Beans and DAO ?

  • @ManojManu-tr5zq
    @ManojManu-tr5zq 5 месяцев назад +1

    Why should we use DTO, we can return directly entity itself if we dont need to modify any data inside entity while returning it as output

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

      Yes you can do that. But you may not need to send all the fields inside entity to client. Such as ids or passwords

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

    Hey again, I understood all, but, I cant replicate your program, there is some missing code or steps to print that json?
    I added getters to the employee entity, and setters for the dto, I dont have a explicit constructor on the dto.
    Im mannaging to print the dto with the data (name, dpt,age)
    Im sure the object im returning is a dto -> return ResponseEntity.ok(employeeDto);
    but im getting "error": "Not Acceptable", that makes me wonder what im missing.

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

      Im sorry mate, I just learned, in order for Spring to make a JSON you have to generate getters and setters, i missed the getters.
      Great tutorial, Im learning toons from you!

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

      Great that you figured it out. I was about to highlight that after looking at your first comment. Great going. All the best 👍🏻🙌

  • @shafikpathan951
    @shafikpathan951 3 месяца назад +1

    Bro please make video on spring boot mvc

  • @RakhiJadoun-l5x
    @RakhiJadoun-l5x 13 дней назад

    I am getting errors in EmployeeDTO class. can you please provide source code for this

  • @AshVlogs-224
    @AshVlogs-224 5 месяцев назад +1

    🔥❤️

  • @krishgupta7362
    @krishgupta7362 5 месяцев назад +2

    repository make the interface instead of class

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

      why should repository be interfaces? Need to know correct answer that I can tell to the interviewers