Hello,
I have this case;
For the moment I have a DataAccess class (let's call it DA 1) that communicates with an Oracle database.
Now I need a second DataAccess (DA 2) which does all the same stuff except with a User Archives database (PCS7)
Based on a parameter in a config file I will create an instance of DA 1 or DA 2.
I know how to do this technically (with an interface) but I was wondering .. isn't there a Design
Pattern for this?
thank you!