Xml configuration versus Annotation based configuration

Posted by Abarax on Stack Overflow See other posts from Stack Overflow or by Abarax
Published on 2008-10-08T12:06:00Z Indexed on 2010/04/03 6:03 UTC
Read the original article Hit count: 756

Filed under:

In a few large projects i have been working on lately it seems to become increasingly important to choose one or the other (XML or Annotation). As projects grow, consistency is very important for maintainability.

My question is, what do people prefer. Do you prefer XML based or Annotation based? or Both? Everybody talks about XML configuration hell and how annotations are the answer, what about Annotation configuration hell?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring