• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DATABASE CONNECTION FROM APPLETS

 
mou haj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any body help me...
I want to make Database (SQL SERVER) connection from an applet ....
Can any body guide me regarding this ....
or suggest me any tutorial...
Thanx a lot
 
Marcos R Oliveira
Ranch Hand
Posts: 62
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, mou haj,
Folowing the link http://java.sun.com/docs/books/tutorial/jdbc/index.html you can find a jdbc tutorial. jdbc is the API that you must use to connect not only Applets, but any type of java applications to databases.
Connecting to SQL Server requires that you use a specific jdbc driver for this database and SQL Server 2000 brings a type 4 jdbc driver with it.
If you have another version of SQL Server you must search for a third party driver.
Once you have the apropriate jdbc driver installed and you know it�s name, you can use the examples in the tutorial in your SQL Server database.
I hope that this helps you in some way.
Good luck,
Marcos.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic