Time remaining:
Swing and Database Connection

Computer Science
Tutor: None Selected Time limit: 0 Hours

cis355A ilab

Feb 15th, 2015

You does not specify the type of your database

I am giving the example of Java i.e. is JDBC

  • Import JDBC Packages: Add import statements to your Java program to import required classes in your Java code.

  • Register JDBC Driver: This step causes the JVM to load the desired driver implementation into memory so it can fulfill your JDBC requests.

  • Database URL Formulation: This is to create a properly formatted address that points to the database to which you wish to connect.

  • Create Connection Object: Finally, code a call to the DriverManager object's getConnection( ) method to establish actual database connection.

Thanks & regards.

Feb 15th, 2015

Are you studying on the go? Check out our FREE app and post questions on the fly!
Download on the
App Store
...
Feb 15th, 2015
...
Feb 15th, 2015
Dec 9th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer