This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
Similar Threads
JDBC with MSsql server without DSN
Servlet Between Application and SQL Server
connecting jsp page with sql
struts 1 connection to sql server 2005
shift booking app