There is a data access interface for retrieval of read only static data. This interface is implemented by a JdbcDaoSupport which uses a regular DataSource. Should this DataSource fall an alternative DataSource should be used (a list of alternatives data sources actually).
I can think a solution: the creation of another implementation of the data access interface which has the main JdbcDaoSupport instance and a list of alternative instances. But I'm thinking that this might be addressed using AOP. I don't know how.
Does anybody know what the best approach to this situation is?
Many thanks and regards,