1

How to go about this question, if it's asked in an interview setting.

How would you design a database connection pool. Give a high level overview of classes and interfaces that will be involved and how they interact

3
  • 2
    more to the point, how would YOU about answering this question?? Commented Apr 22, 2012 at 7:33
  • 1
    You can learn it yourself!! :) Try looking at the source code of the apache project DBCP. Apache DBCP Commented Apr 22, 2012 at 7:34
  • 1
    What is the point of you asking this question here? The interviewers don't want a rehearsed answer. They want to see how good YOU are at solving "big picture" problems. Commented Apr 22, 2012 at 7:42

1 Answer 1

3

You have to take a look at the Object Pool design pattern

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.