What's the difference between using a connection pool and a datasource

Howdy. I figure this is a newbie question, but I can't seem to find an
answer.
In the docs at bea, the datasource docs say
"DataSource objects provide a way for JDBC clients to obtain a DBMS
connection. A DataSource is an interface between the client program and the
connection pool. Each data source requires a separate DataSource object,
which may be implemented as a DataSource class that supports either
connection pooling or distributed transactions."
In there it says the datasource uses the connection pool, but other than
that, what is the difference between a connection pool and a datasource?

Thanks for the info. I think it makes some sense. But it's a bit greek.
I'm sure it'll make more sense the more I work with it. Thanks.
"Chuck Nelson" <[email protected]> wrote in message
news:3dcac1f5$[email protected]..
>
Peter,
Here is a more formal definition of a DataSource from the Sun site
"A factory for connections to the physical data source that thisDataSource object
represents. An alternative to the DriverManager facility, a DataSourceobject
is the preferred means of getting a connection. An object that implementsthe
DataSource interface will typically be registered with a naming servicebased
on the JavaTM Naming and Directory (JNDI) API.
The DataSource interface is implemented by a driver vendor. There arethree types
of implementations:
Basic implementation -- produces a standard Connection object
Connection pooling implementation -- produces a Connection object thatwill automatically
participate in connection pooling. This implementation works with amiddle-tier
connection pooling manager.
Distributed transaction implementation -- produces a Connection objectthat may
be used for distributed transactions and almost always participates inconnection
pooling. This implementation works with a middle-tier transaction managerand
almost always with a connection pooling manager.
Does that help clarify the distinction?
Chuck Nelson
DRE
BEA Technical Support

Similar Messages

  • What's the difference between these net connection...

    I am using my N97, on the UK Vodafone network. I have 'unlimited' internet useage, which is actually capped to a 'fair use' of 500MB per month. Having checked out online it seems Vodafone are pretty lenient about the cap, and will only charge more if you consistantly go well over than limit, and ignore warning to lower your useage.
    Anyway, basically, in my internet connection destinations on my phone, I have my 3 WiFi networks I use set as priority 1, 2 and 3 (home, work, another place) and then 4th is Vodafone Live! which I presume is the 'normal' Vodafone network, and then lastly we have Vodafone Internet GPRS. 
    What is Vodafone Internet GPRS? And what's the difference between using that, and Vodafone Live? If anyone could clear this up it would be great, cheers! 
    Message Edited by alex79uk on 09-Jul-2009 02:23 PM

    In analog terms, to explain YCbCr use the example of the COMPONENT output from your DVD player. It use 3 separate cables (Y = Luminance = Green Cable), (Y-B = Blue Color Diff = BLUE Cable) and (Y-R = Red Color Diff = RED Cable). In the analog world, RGB is actually RGBHV (5-wire) and is adaptable to 15-pin VGA with a simple passive adapter. Many people will mistakenly refer to Analog Component video as RGB, since the cables are Red, Green and Blue.
    So, since all that mumbo jumbo means essentially the same, this appears to be the digital "equivalent" of what is known as Component Video in the Analog world... What I said about RGBHV does not apply to the 10-bit color, but thought I'd mention it anyway.
    -BChil

  • What is the difference between HTTPS URL connection and SSLSocket conn

    What is the difference between HTTPS URL connection and SSLSocket connection

    The difference is that they are different protocols, or rather one protocol layered over the other. If you're within a LAN you will use SSL, if it's a Web service you will use HTTPS.

  • What is the difference between BO Designer connect BW QUERY and BW CUBEuFF1F

    HI  friend,
        What is the difference between BO Designer connect BW QUERY and BW CUBE?
    which one is better?
    Best regards.
    Howard

    Hi Howard,
      You can use autorization variables in  SAP BW and maitain the security there, using that you can apply diferent security not only at Infoobject levet you can apply security per BEX Query.
      Here is some informaion about BEX and SAP BusinessObjects
    BI metadata feature _______SAP OLAP BAPI support level
    Characteristics (incl. Time and Unit)_______ InfoCube/BEx Query
    Hierarchies_______ InfoCube/BEx Query
    Basic Key Figures_______ InfoCube/BEx Query
    Navigational Attributes_______ BEx Query only
    Display Attributes_______ InfoCube/BEx Query
    Calculated Key Figures / Formulas_______ BEx Query only
    Restricted Key Figures_______ BEx Query only
    Custom Structures_______ BEx Query only
    Variables_______ BEx Query only
    I hope this help you.
    BEst regards,
      Fede

  • What is the difference between Safari 5.1.7 and 5.1.10? I can not log on to my website, so that their customer service has said that they are using Safari 5.1.7, and I use 5.1.10 (which I have installed on my computer, Mac)

    what is the difference between Safari 5.1.7 and 5.1.10?
    I can not log on to my website, so that their customer service has said that they are using Safari 5.1.7, and I use 5.1.10 (which I have installed on my computer, Mac)

    Might be the security fixes >  Safari 5.1.10 for Snow Leopard

  • What's the difference between using and 802.11a and 5GHz only?

    What's the difference between using "802.11n (802.11a compatible)" and "802.11n only (5GHz)" modes on the Airport Extreme?

    802.11a gives you 802.11g speeds but using 5GHz (54mbps
    802.11n gives you 144Mbps (600 peak) at 2.4GHz or 5GHz

  • What is the difference between SAP NW PI7.1 and PI7.1 EHP1

    We have a customer using SAP PI7.1 EHP1. The application to be deployed
    isdeveloped on SAP Netweaver PI 7.1 SP06.
    We need to know if application developed and transported from PI7.1 is
    compatible with EHP1?
    Below are the Components used by the application .
    1) SSL communication using SOAP adapter
    2) Java mapping , Graphical mapping , XSLT mapping
    3) Customised EJB modules
    4) Adapter framework
    5) ALE layer for IDoc communication from ERP to PI
    6) RFC lookups to PI system and ERP system.
    Questions
    1)Will PI EHP1 be able to communicate with PI7.1 using SOAP adapter ?
    2) What is the difference between SAP NW PI7.1 and PI7.1 EHP1 ?
    Regards,
    Sneha

    Hi,
    EHP Pi7.1 new
    IPv6 Support in SAP Systems (new)
    Async/Sync and Sync/Async Bridge in the JMS Adapter (New)
    High Availability (New)   Locate the document in its SAP Library structure
    Use
    A new concept is available for setting up a high availability environment for SAP NetWeaver Process Integration (PI). To do this, you need SAP Web Dispatcher for load balancing, and you must reconfigure your HTTP, RFC, and RMI connections so that they can be used for load balancing. You must also make various configuration steps in other components of your PI environment.
    [Level 4: Document: XML to Text Conversion Module (New)] XML to Text Conversion Module (New)
    Message Packaging (New)
    Monitoring Milestones (New)   Locate the document in its SAP Library structure
    Use
    You can use the new scenario variant Monitoring Milestones of the Business Process Management scenario to define a monitoring process that can monitor events from different applications. A monitoring process can subscribe to events from SAP or non-SAP systems.
    check  given Link
    http://help.sap.com/saphelp_nwpi711/helpdata/en/61/8c3842bb58f83ae10000000a1550b0/frameset.htm
    Regards,
    Amit

  • What is the difference between component(Y, Pb, Pr) and component(R,G,B)?

    [I previously posted this question in another thread as hadn't realised how to post new question]
    Q. What is the difference between component (Y, Pb, Pr) and component (R,G,B) ?
    I’d previously thought I was reasonably savvy on all things HD, but when I turned my thoughts to looking into getting a mac mini to run part of my home cinema I realise I have some confusions around the above.
    Here’s what I think I know:-
    The mac mini has a DVI output of the type which can output both digital and analogue, and so via physical adapters it could be used to connect to displays that take HDMI or VGA style RGB leads.
    I know on the market I can get a DVI to Component cable lead which would therefore lead me to assume it could drive my HD plasma with component input (Y,Pb,Pr), as I currently drive the HD TV via component cable with a SKY HD box (720p and 1080i), an xbox 360 (720p) and a progressive scan DVD player (480p), all through a Denon AV-amp.
    The problem is, I’ve heard somewhere that the DVI to component is R,G,B only and that it is not Y, Pb, Pr which is making me wonder it a) this will work and b) if I really understand component video afterall.
    I notice the Apple TV outputs Y,Pb,Pr but colours them red, green and blue, so am even more confused….
    Hopefully someone can help educate me on this !

    Thanks for this.
    My Plasma is a Panasonic 42" Viera March 2005 model. No HDMI, No VGA.
    It can process signals up to 720p and 1080i via the component (an interestingly it makes a huge difference over SD even though the native panel is 480..!?!)
    Am I right in thinking that the iPod component cable will also be R,G,B and therefor might be a suitable trial? Ie. if the TV accepts the input from the iPod then it should work for the mini?
    Only other thing of note is I'm doing all this via my Denon 1707 AV amp which does have the facility of upscaling, but I imagine it needs to stick to one format?
    Thanks.

  • What is the difference between j2sdk1.4.1_03/jre and j2re1.4.1_03?

    Hi,all!
    What is the difference between j2sdk1.4.1_03/jre and j2re1.4.1_03?
    Why there have two JRE? Which one we should use?

    JRE - Java Runtime Enviroment, what you stick on the end-user computers - http://www.java.com
    SDK - Software Development Kit (aka JDK - Java Developer Kit) - http://java.sun.com

  • What's the difference between e.g. dialog listbox and regular listbox?

    What's the difference between e.g. dialog listbox and regular listbox?

    Dialog controls use platform specific drawing functions and cannnot be customized (change the color, etc). They often assume specific system colors.
    For example, place a dialog list box and a regular list box on your front panel. Now go to your Display control panel in windows and change the color scheme in the appearance tab. You will see that the dialog list box will change the color according to the selected scheme while the regular list box remains the same.
    Now use your labview color tool and try to change the color of each. You will be able to change the color of the regular list box, but not of the dialog list box.
    Functionally they are the same, the differences are cosmetic.
    LabVIEW Champion . Do more with less code and in less time .

  • What's the difference between Flash Builder 4.5 and Flash Builder 4.7?

    Hi everybody!
    Could you help me?
    this is my question:
    What's the difference between Flash Builder 4.5 and Flash Builder 4.7?
    I'm going to develope a new app using Flash Builder 4.5 but the new version is available... What could I wait about it?

    The only listed change is the addition of support for the new Nike + iPod system (more information about the Nike products can be found here).

  • What is the difference between sales order with picking and without picking

    hi friends,
    i would like to know what is the difference between sales order with picking and without picking.
    thanks
    skrishnan

    Hello,
    Picking refers to preparing the right quantity and quality of goods for shipping on schedule as required by the customer.
    Once picking is configured, SAP Sd automatically generates picking lists and picking labels which can be tagged to the relevant goods. SAP can be configured to ensure that picked quantity is confirmed before goods are issued. This can be done using transaction code VSTK. In T-code VSTK, picking confirmations can be set, which ensure that goods picked for delivery are in accordance with picking slips.
    Picking thus helps in monitoring each item using the picking status. Picking is normally done in SAP SD by a shipping clerk.
    Prase

  • What's the difference between batch class type 022 and 023?

    Hi Guys,
    I find that some of my SAP client only have class 022 and some have 023, but no client has  them all. I don't know why it happed.
    So what's the difference between batch class type 022 and 023?  Which setting decide which class to be used ?
    Thanks.

    Hi nitin,
    Read  http://www.sapfans.com/forums/viewtopic.php?t=212819&highlight=022  you will know the difference between 022 and 023 .
    Use tcode OMCT you can switch batch level .

  • What's the difference between old SAP appraisal system and the new SAP appraisal system?

    Hi Experts,
    What's the difference between old SAP appraisal system and the new SAP appraisal system?
    Can anyone shed some light please.
    Thanks.

    emgr_update no longer sets or gets the thesaurus from workbench. In 11 all workbench configurations are saved in IFCR configuration directly.
    Hence the thesaurus entry should be added directly in version 11 Workbench as opposed to xml file in older versions.
    And if you want to migrate the changes across environments then import_site script in control directory can be used.

  • What is the difference between a tablespace, a segment and an extent ?

    What is the difference between a tablespace, a segment and an extent ? Please explain in layman terms since I'm a total newbie to Oracle.
    Regards
    Gony

    Hi,
    These are logical structure of database
    1. Tablespace : A database is divided into logical storage units called tablespaces, which group related logical structures together. For example, tablespaces commonly group together all application objects to simplify some administrative operations.
    2.Segments
    Above extents, the level of logical database storage is a segment. A segment is a set of extents allocated for a certain logical structure. The following table describes the different types of segments.
    Segment Description
    Data segment
    Each nonclustered table has a data segment. All table data is stored in the extents of the data segment.
    For a partitioned table, each partition has a data segment.
    Each cluster has a data segment. The data of every table in the cluster is stored in the cluster's data segment.
    Index segment
    Each index has an index segment that stores all of its data.
    For a partitioned index, each partition has an index segment.
    Temporary segment
    Temporary segments are created by Oracle when a SQL statement needs a temporary work area to complete execution. When the statement finishes execution, the extents in the temporary segment are returned to the system for future use.
    Rollback segment
    If you are operating in automatic undo management mode, then the database server manages undo space using tablespaces. Oracle Corporation recommends that you use "Automatic Undo Management" management.
    3. Extents
    The next level of logical database space is an extent. An extent is a specific number of contiguous data blocks, obtained in a single allocation, used to store a specific type of information.

Maybe you are looking for

  • How do I get my music back?

    I made the silly mistake of syncing my ipod with my Itunes library. Without thinking about it I just hit accept and then realized that because all of the music on my Ipod was not the music in my library, all of the music that was on my ipod was now b

  • BW statistics - missing ODS

    Can anyone tell me why my ODS is not in the list for activation of statistics? I have created a couple of ODS' and transported. I'd like to use stats to analyse the data loads but only some of the ODS' are in the list to activate (Tools->BW Statistic

  • Problems with Scorm and Captivate

    There appears to be a major problem with Scorm compliance and Captivate 4. From my understanding, Scorm 1.2 requires that the Manifest include the filenames of all resource files in order to import them. It appears that when Captivate externalizes it

  • After Effects error: RAM Preview needs 2 or more frames to playback (It's Back)

    Just upgeaded to 12.1 and this error is back. I have tried purging memory, restarting and closing all apps with no luck. System specs as follows... Mac Pro 2 x 2.4 Ghz Quad Core 40 GB of Ram ATI Radeon HD 5870 1GB of VRAM Any ideas? Mike

  • Audition - CD-Projekt sichern + wtr. Problem

    Hallo, ich habe in Audition 1.5 ein CD-Projekt erstellt. Wie kann ich diese Einstellungen für dieses Projekt sichern? Bei jeden Neustart des Progr. muss ich die Tracks erneut laden. Dann wohl eher zu allg.: Ich arbeite mit einem Laptop DELL Inspirion