File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Need sample code for Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need sample code for Connection Pooling" Watch "Need sample code for Connection Pooling" New topic
Author

Need sample code for Connection Pooling

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
hi


Guyz i need code for Connection pooling on ecllipse.
I've been trying it but Im getting an exception classcastexception and unavailableexception
help!!! urgent
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Connection pooling is done within the context of a J2EE Application server. Eclipse is an IDE, not an Application server. While it is possible to start and stop an Application server from within Eclipse and to deploy applications to a n Application Server, it is still the application server that is running your application and whatever connection pooling you're using, and not Eclipse.

My advice would be to search for this topic in your Application Server's documentation. The process for setting up a connection pool can vary significantly between Application Servers.


Merrill
Consultant, Sima Solutions
 
 
subject: Need sample code for Connection Pooling
 
Similar Threads
Dao - connection pool
Need sample code for Connection Pooling
Connection pooling package
want sample source code reg. Connection pooling
Questions on EJB