Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 27th, 2005, 03:14 AM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connect to remote SQL Server 2000 using servlets

Hi guys,

Please help me ?

I want to make connection to remote SQL Server 2000 using servlets. How to do it?


 
Old August 5th, 2005, 12:22 AM
Authorized User
 
Join Date: Aug 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to olupas
Default


Hi....

In the init() method load the DataSource bound in the JNDI
The in service as usual....ds.getConnection()....








Similar Threads
Thread Thread Starter Forum Replies Last Post
CAN NOT CONNECT TO SQL SERVER 2000 REMOTELY charlietritran SQL Server 2000 9 December 22nd, 2006 04:14 PM
How to connect to a remote SQL Server? mizimizi SQL Server 2000 3 July 4th, 2006 01:47 PM
Connect SQL Server 2000 with VB6 sanjna000 SQL Server 2000 1 May 8th, 2006 02:01 PM
Access 2000 "Connect to SQL Server" cjdphlx Access VBA 1 July 17th, 2005 02:09 AM
how i can connect to remote sql server db yoord ADO.NET 16 June 16th, 2004 01:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.