Difference between @Autowired, @Inject & @Resource | Important Spring annotation Interview Question

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2020
  • #Autowired #Vs #Inject #Vs #Resource
    ► SUBSCRIBE & LIKE!!
    ► Important Information and code guide available bottom of the Description section
    ► Official Email Id: techtalk.debu@gmail.com
    ► Download the sample java microservice application :
    github.com/admindebu/In-Memor...
    ► Follow on Facebook: / techtalkdebu
    ► Follow on LinkedIn: / debu-paul
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ► Here is our amazing playlist for Core Java, Spring MVC/Boot, Git and Microservice
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1. Core Java :: • Exception in Java deta...
    2. Core Java Important Interview QA : • Core Java Interview Qu...
    3. Spring MVC & Spring Boot :: • Quick Start Spring Boo...
    4. Micro Services :: • Micro Service - Monoli...
    5. Git/GitHub :: • VCS - What is GitHub a...
    6. AWS :: • AWS - SpringBoot file ...
    7. Spring Security & OAuth : • Difference Between Aut...
    8. Coding and Programming : • Program Logic/Algorith...
    9. Raspberry PI & Arduino : • What is Raspberry Pi |...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Watch my "Most Watched Videos"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ► HTTPS & HTTPS protocol :: • What is HTTP Protocol ...
    Thanks & Regards,
    Debu Paul
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 8

  • @johnferdinandantonio8478
    @johnferdinandantonio8478 2 ปีที่แล้ว +1

    Thank you for explaining. I have been using @Autowired and not the other two annotations in development. After watching, I now know what @Resource and @Inject is B-)

    • @TechTalkDebu
      @TechTalkDebu  2 ปีที่แล้ว

      Thank you for the feedback

  • @springboot-devops
    @springboot-devops 4 ปีที่แล้ว +3

    hi
    Thank you for this presentation.
    I think Dependency injection is introduced by JSR 330 not jsr 300 as you mentionne in the video.
    am I missing something ?

    • @TechTalkDebu
      @TechTalkDebu  4 ปีที่แล้ว +3

      No, you are correct .... Depenedency injection @Inject annotation introduce jsr 330... And spring 2.5 introduce @Autowired... Anyhow, but be I did some mistake while speaking about jsr version... Thank you for the info and Catch

  • @sumit5642
    @sumit5642 ปีที่แล้ว

    Thanks for the explanation.

  • @sivashankar-sx9ul
    @sivashankar-sx9ul 10 หลายเดือนก่อน

    Nayabba antasepu cheppu inject artamkale