wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Connection Pooling in CMP Beans.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply locked New topic
Author

Connection Pooling in CMP Beans..

catjava
Greenhorn

Joined: Feb 20, 2003
Posts: 3
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:
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
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

Joined: Jul 18, 2001
Posts: 2712
One more thing...
catjava,
Thanks for joining JavaRanch, but could you take a quick look at the naming policy and edit your profile accordingly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection Pooling in CMP Beans..
 
Similar Threads
Connection Pooling in CMP Beans
Need help from Oracle Gurus
Why bean managed transaction is not allowed with entity beans
CMP and data retrieval
Connection Pooling - Entity Bean