add spring transcation support && simplify configuration file