<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - DAO connection from datasource</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Thu, 20 Jun 2013 06:06:51 -0400</pubDate>


    <item>

        <title>DAO connection from datasource</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=37303</link>

        

        
            <description><![CDATA[Hmm, ya what i described was just a rough outline. SLSB doesnt know about datasource.<br><br>doing a jndi lookup every time seems costly. At the momnent the jdbc-sql imple of the dao, holds on to datasource as member variable and gets connection from it,...]]></description>
        

        <pubDate>Tue, 01 Nov 2005 04:39:52 -0500</pubDate>

        

        <jf:creationDate>Tue, 01 Nov 2005 04:39:52 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 01 Nov 2005 04:39:52 -0500</jf:modificationDate>
        <jf:date>Nov 1, 2005</jf:date>
        <jf:author>sloppyseconds</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>DAO connection from datasource</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=37303</link>

        

        
            <description><![CDATA[There's a third option as well: don't hold either as a member variable -- do the JNDI lookup and getting the connection whenever you call a dao moethod.  Preferably, this would be done as part of your persistence logic, not as part of your business...]]></description>
        

        <pubDate>Sun, 30 Oct 2005 16:55:11 -0500</pubDate>

        

        <jf:creationDate>Sun, 30 Oct 2005 16:55:11 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 30 Oct 2005 16:55:11 -0500</jf:modificationDate>
        <jf:date>Oct 30, 2005</jf:date>
        <jf:author>Nathan Smith</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>DAO connection from datasource</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=37303</link>

        

        
            <description><![CDATA[Quick question.<br><br>I have a dao interface, and one implementation of it is to use direct jdbc.<br>Its deployed in jboss (stateless session bean calling dao). <br>What i was wondering is the prefered way of getting and using the connection for that...]]></description>
        

        <pubDate>Thu, 27 Oct 2005 05:59:40 -0400</pubDate>

        

        <jf:creationDate>Thu, 27 Oct 2005 05:59:40 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 27 Oct 2005 05:59:40 -0400</jf:modificationDate>
        <jf:date>Oct 27, 2005</jf:date>
        <jf:author>john walton</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>



</channel>
</rss>

