Explain how to create Pooling in tomcat?The following are the steps to create Pooling in tomcat:
Download 3 jar files commons-dbcp-1.2.jar commons-collectons-3.1.jar commons-pool-1.3.jar Add an entry in server.xml of the tomcat factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName oracle.jdbc.OracleDriver url jdbc:oracle:thin:@localhost:1521:orcl username visisht password vst2wrd maxActive 20 maxIdle 10 maxWait -1 *** visisht is the user name and vst2wrd is the password
|