Spring core concepts with xml based configurations