Jul 19th, 2010, 03:19 PM
Batch Job with encrypted password for database connection
I need to run some batch jobs (hence looking at Spring Batch) with encrypted password for database connection (security policy).
We use WebLogic Server which will encypt the datasource password. I can then either access the datasource via a jndi lookup from a "Spring batch java client" or by running the batch job within the WebLogic Server as per http://static.springsource.org/sprin...omWebContainer
Jul 22nd, 2010, 01:41 AM
I'm not sure how you would get to JNDI from a "Spring batch java client". I suggest deploying in WLS with Spring Batch Admin (but writing your own web service wrapper as you suggest is not hard).
You can also use trusted OS accounts and native drivers with most enterprise database servers, if you want to go down the java client route.