What is @resource in spring?



What is @resource in spring?..

Answer / Cbvn Vhnh

@Resource annotation in Spring Framework is used for autowiring resources like JDBC DataSource, JMS ConnectionFactory, or JNDI resources.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is objectfactory in spring?

1 Answers  


How does dependency injection work and why would you need it?

1 Answers  


Why spring is used in java?

1 Answers  


What is spring dto class?

1 Answers  


What is c3p0?

1 Answers  


What is liferay used for?

1 Answers  


What does spring framework do?

1 Answers  


Why is spring default scope singleton?

1 Answers  


What is the core container module?

1 Answers  


What is a target?

1 Answers  


What is difference between @pathvariable and @requestparam in spring?

1 Answers  


What is inversion of control (ioc)?

1 Answers  


Categories