Sorry to ask this question which may be already asked in Stack Overflow for different situation.
I searched a lot in Stack overflow and google . But couldn't find a reliable and a well suitable answer. That's why I made a new question.
After some search , I found that its better to use both Annotation and XML configuration in the Spring project. So now I have some questions to ask ,
Am I found the correct one?
Also can anyone tell me
when to use annotations and when to use XML based configuration in Spring?Some
pros and consfor both `annotaion and XML configuration with example situations ?
Good answers are definitely appreciated.Thanks.