HARMAN Interview Question

How would you establish connection between database and the application ?