The answers to my previous post helped me mix SQL and NoSQL db.
What is the best practice for implementing two databases in terms of configuring the application context and creating a DAO?
Let's choose Derby as SQL db and Cassandra as another. I am looking for, for example, an example of appcontext.xml, two DAOs, one implementing CRUD on Derby and the other ond Cassandra, and one (not two) unit test sample, using both DAOs at the same time.
Tutorials, examples (maven ;-)), book recommendations, etc. welcome.
source
share