Using Java
Prompt the user for: user password (an employee’s EIN), portnumber, user name, IP address for the host running the databaseserver, and RDBMS, so as to create a connection to AW&H’sdatabase. Your application must allow the user to have a maximum ofthree attempts to connect to database server; a confirmation thatthe connection is successful or unsuccessful must be displayed tothe user, before allowing them to proceed to your solution for taskb); if the connection is unsuccessful after three attempts, yourapplication must exit.
Expert Answer
Answer to Using Java Prompt the user for: user password (an employee’s EIN), port number, user name, IP address for the host run…