• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Database Connection Pool

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am integrating JForum with my existing web application. My web application initializes database connection pool and uses db connection from that pool. Is it that JForum has to create another connection pool (using database.connection.implementation = net.jforum.PooledConnection) and this would be used by JForum application? Is there a way that JForum can use the connections from the pool that is created by my application?

I do not want different applications create its own connection pool

Regards,
Pranav Kumar Varshney
[originally posted on jforum.net by Pranav Kumar Varshney]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your existing application is using a named DataBase connection (e.g. defined at the context/server level), you can set up JForum to share this.

Otherwise, you'll have to write (and test, test, test...) your own database connection implementation.
[originally posted on jforum.net by monroe]
 
Is that a spider in your hair? Here, threaten it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic