What is difference between @autowired and @resource in spring?
Answer / Nitin Aliwal
@Autowired is annotated on a field or setter method to indicate that Spring should manage the dependency injection of that specific bean. @Resource can also be used, but it's more flexible as it allows for customization via JNDI lookup names.
| Is This Answer Correct ? | 0 Yes | 0 No |
Name the exceptions thrown by the spring dao classes?
What do you mean by spring beans? What does bean scopes spring support? Explain each.
What is webapplicationcontext?
What is bean factory?
What are the ways by which hibernate can be accessed using spring?
How can you fetch records by spring jdbctemplate?
What is requestmapping?
What is @repository in spring boot? : Spring Boot
What is logback?
What is a jointpoint?
When should you use a singleton?
Explain the different modes of auto wiring.