aspose file tools*
The moose likes Servlets and the fly likes how to connect SQL database in servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to connect SQL database in servlet?" Watch "how to connect SQL database in servlet?" New topic
Author

how to connect SQL database in servlet?

Mellihoney Michael
Ranch Hand

Joined: Nov 27, 2002
Posts: 124
Hi:

I am beginning to use web logic to development web applications. The question is how to connect SQL database in servlet? I have heard about the Oracle database connection and retrieval in J2EE, so can I connect to my SQL database in web logic?

Cheers
Mic


a beginner in java
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
yes u can connect sql also through weblogic.
First u get the sql driver class and URl then u can apply at weblogic console and also u must and should set the classpath for ur sql driver.
sidharth nayak
Greenhorn

Joined: Aug 29, 2004
Posts: 6
try jdbc instead..

there are 6 simple steps given in all books


sidharth
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to connect SQL database in servlet?