Describe how to connect to DB in Java