use spring xml application context to read data source as bean, and put it into context