title: Example of xml config taking precedence over annotation config in Spring
body: <p>In a book I have read, that XML configuration has higher priority than annotation configuration.</p>
  
  <p>But there aren't any examples of it.</p>
  
  <p>Could you show an example of it?</p>