Time remaining:
Swing and Database Connection

label Computer Science
account_circle Unassigned
schedule 0 Hours
account_balance_wallet $5

cis355A ilab

Oct 23rd, 2017

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

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Oct 23rd, 2017
...
Oct 23rd, 2017
Oct 23rd, 2017
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