Pregunta de entrevista de European Dynamics

how can you connect a java app with a database?