What is @inject annotation in spring?



What is @inject annotation in spring?..

Answer / Ankit Kumar Rathi

The @Inject annotation is used for dependency injection in Spring Framework. It's a part of the Java Persistence API (JPA) and provides a way to inject dependencies into managed entities.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is cdi in spring?

1 Answers  


What is the spring framework and why is it so popular?

1 Answers  


What is @resource in spring?

1 Answers  


What is dependency injection in spring?

1 Answers  


Explain spring beans?

1 Answers  


What are spring boot metrics? : Spring Boot

1 Answers  


Explain in the metadata contained in the beandefinition objects.

1 Answers  


What is compile time weaving?

1 Answers  


List the modules used in spring framework?

1 Answers  


Explain inversion of control?

1 Answers  


What is base package in spring?

1 Answers  


What is aspect?

1 Answers  


Categories