To keep data permanently, a Relational Database Management System (RDBMS) is used.The Java application communicates with the database using JDBC (Java Database Connectivity).JDBC is an API and part of the JDK (Java Development Kit).To set up the JDBC connection, you need JDK and a database installed on your computer (e.g., MySQL).