I am trying to make connection through SQL Server from web server using java .It is simply opening the connection by sql driver but when multiple users try to connect with the web server of the company the server goes slow down due to the heavy traffic . So i think it must use the connection pooling concept . i am using the following code to connect with database
try{
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
cnn =java.sql.DriverManager.getConnection("jdbc:sqlserver://202.54.119.141:1433;Database=LCXERP" ,"shivam","shivbabaji");
st1=cnn.createStatement();
}
catch(Excpetion ex)
{
ex.printStackTrace();
}
suggest the alternate way to connect with data base to avoid congestion