Connection pooling in JBOSS with MYSQL

Step 1 : copy mysql-connector-java-5.0.7-bin.jar into jboss/server/default/lib or jboss/server/all/lib
Step 2 : config the data sources with mysql-ds.xml and config the login-config.xml.
Mysql-ds.xml

Login-config.xml


Step 3: then create your connection pooling class in java

Step 4 : create the remaining class and deploy it into jboss as war file, in jboss/server/default/deploy/ ______.war file.

Comments

Popular posts from this blog

Spring MVC with Sqlite sample

Struts Tutorial Page