Spring basics with xml configurations