dao « DataSource « Java Database Q&A





1. Designing DAOs for data sources other than a database    stackoverflow.com

Until now I've been used to using DAOs to retrieve information from databases. Other sources of data are possible though and I'm wondering if and how the pattern could be applied ...

2. Are multiple DAOs with jdbctemplate constructor injection a multi-threading risk?    stackoverflow.com

I've got a large multi-threaded webapp in which I am passing in jdbcTemplates into DAO classes via constructor injection. Is this a multi-threading risk? Should I be passing in just the ...

3. Configuring DAO factory with Pooled DataSource    stackoverflow.com

I'm after a bit of advice regarding configuring a DAO factory with a pooled datasource. Suppose its a JDBC DAO factory (from an abstract factory) and the pooled datasource is configured ...

4. Java's DataSource Equivalent in .net    stackoverflow.com

Under .net (specifically C# really), is there an equivalent to Java's DataSource class? I'm used to creating a single DataSource (pooled or non-pooled) and passing it around to objects that ...

5. DAO pattern and server's DataSource approach    coderanch.com

I think you didn't get DAO really. Here is a brief but somewhat complete definition. Data Access Object Most Web applications use a persistent storage mechanism to store data. The data access methods may differ for different types of data sources, which might range from relational databases to legacy systems. Even within an RDBMS environment, the actual syntax and format of ...