How do you write an annotation?
Answer / Pushpendra Raghuvanshi
To write an annotation in Spring Framework, you define a Java interface with the @interface modifier. This interface contains element types (such as type, target, document, and value) that provide attributes for the annotation.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to do setter injection in spring using annotations?
How does a spring house work?
What is repository model?
Explain the advantages of using dao module?
What is db persistence?
What does autowired mean in spring?
What is service layer in spring mvc?
What is the ioc in spring?
How do you find the source of a spring?
What is a bean in spring?
What is difference between bean and pojo?
What is @transactional in jpa?