Spring architecture without xml