Access to databases with Java.
We will talk about how to connect to a database with Java, To do this we will use the JDBC (Java DataBase Connectivity) which is nothing else than java database connection. 1 : Establish the connection. We have to start at the beginning and so we will have to use a database, here I will use the Dragon database. then place in the library of your java project a : « mysql-connector-java-version.jar ». And then we can begin our Java project ! Once we…