Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

Instantiating JdbcDaoSupport in non spring java application

$
0
0
Hello,

We have a non spring application which uses some support jars (the code in the jars are spring beans). For e.g., we have a Custom DAO that extends JdbcDaoSupport and uses DataFieldMaxValueIncrementer. We need to use this custom DAO in a non spring application (which is not spring context aware). We thought we could manually instantiate Custom DAO class in the client code, but we are stuck with how to instantiate the DataFieldMaxValueIncrementer. Are there any best practices on how to instantiate spring beans in a non spring application (that is not spring context aware). Help is appreciated.

Viewing all articles
Browse latest Browse all 297

Trending Articles