externalize db configuration into a property file; message source in Main config; JpaConfig with method arguments injection;