Say I have a database layer, with DTO's for each table, and a factory that returns the DTO's for each table.
As long as I build to interfaces, I can re-implement the db layer and then just change my app-config.xml to use another implementation.
Now, is it possible for me to have this new implementation in another .jar file?
The goal is to allow for someone else to run this spring mvc application, drop their own implementation and change the app-config.xml file so that it now uses their library to re-implement a module.
Is this possible? How exactly do I go about this?