Using jndi datasource with spring batch admin
问题 When using Spring Batch Admin, it tries to provide some defaults for dataSource, transactionManager etc. If you want to override these defaults, you create your own xml bean definitions under META-INF/spring/batch/servlet/override/ folder and during the bootstrap it guarantees that the default properties will be overridden. In spring-batch-admin, a dataSource default is defined in data-source-context.xml with this definition <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource