Pergunta de entrevista da empresa European Dynamics

how can you connect a java app with a database?