I have been trying to find out a suitable Connection Pool for my JSP project. Please give me some good source where I can just use the existing code...does Java provide such facility ? Please inform me soon Thanks....Java Lives...;-) Ved
Joined: Jan 18, 2002
Most of the servers have inbuild connection pool. You can get the connection by creating a datasource in the server. If you are using struts framework you can use the connection pool written in struts. See struts-config.xml where you can define you datasource
I use a changed version from the one that is in the book available at: CoreServlets book I think you can use the ConnectionPool in there for JSPs, I only use Database connections from inside the JavaBeans (The business Logic). Yours, Mark Monster
Joined: Oct 10, 2002
hi monster,well can u tell me how u do the connection in the java bean,with the code will be better and whats its advantage...