This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i have an SE application that will be connecting to a SQL Server 2005 DB. At first a problem about the Driver arised when using Microsoft JDBC Driver( the problem was solved by enabling SQL Server Browser and enabling TCP/IP under Network Configuartion).the fix was inside SQL Server 2005 so does my user's need to install the whole SQL Server 2005 in order to use my App which will only be connecting to a SQL server 2005 DB on their local machines ? [ September 29, 2006: Message edited by: Mahmoud Hadad ]
SQL server is reqired just to run on the server and your clients should be able to connect to server from their own pc. i have never used sql server 2005 , but with sql server 2000 , both with JTDS and microsoft provided JDBC driver you do not need to install anything from sql server package on the client machines.
as you know you need to pass the correct connection URL to your server in order to make clients able to connect to server.
thanks for the reply, well when i made a connection to my sql server 2005 db it gave an error which was ClassNotFoundException No Suitable Driver Found, the solution was to enable something called SQL Server Browser inside the Configuartion Manager in SQL Server 2005 and enabling TCP/IP in the Network Configuration so all of these things were done inside SQL Server 2005 so i can get a Connection object from the DriverManager and as i understood from a post from someone from Microsoft that JDBC connects to SQL Server 2005 DB via TCP/IP only. so should my users install the whole SQL Server 2005 in order to use my App? my Application does not connect to a remote DB ,it connects to a DB that comes with my App only. [ September 29, 2006: Message edited by: Mahmoud Hadad ]