Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
    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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Connection Pooling in CMP Beans..

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,
Can I use my Own Connection Pooling in CMP Beans.I am using Weblogic and Oracle as Backend.Will there be any problem as Container take care of all the things in CMP Beans?
:roll:
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
  • Report post to moderator
Overall, this is a bad idea.
You might be able to get basic CMP functions to work. I'm not sure because I haven't tried. However, Container Managed Transactions(CMT) require the use of a WebLogic Tx Datasource. Likewise a Tx Datasource feeds from a WebLogic Connection Pool. Therefore, to support CMT (which you most likely will be using) then you need to use a WebLogic Connection Pool.
Just curious... why would you want your own Connection Pool implementation to back a CMP? You don't control any of the database interaction in the CMP, so why would it matter what Connection Pooling software WebLogic uses?
 
Chris Mathews
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
  • Report post to moderator
One more thing...
catjava,
Thanks for joining JavaRanch, but could you take a quick look at the naming policy and edit your profile accordingly.
 
They weren't very bright, but they were very, very big. Ad contrast:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic