-1

I am working a project where we fetch a list of users who are accessing a DB, we are having around 250 servers and DB count might be around 1000. I am planning to use a connection pool using DBCP and Executor framework for multi-threading. Kindly suggest

Thanks in advance

1
  • I am looking for the best possible solution for the above mentioned question in short i need to connect to 250 servers and 1000 odd DB Oracle and SQL to run a stored procedure in each database and fetch the accounts Nov 3, 2015 at 6:42

1 Answer 1

0

This can be achieved by ExecutorCompletionService which will submit the tasks to a queue and use

ecs.take();

and process the result

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.