• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need sample code for Connection Pooling

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic