Android Question Database connection with jRDC2 - Best Practices

cheveguerra

Member
Licensed User
Longtime User
Hi everybody,

I have an app that has to connect to 3 different database servers, and was wondering what is the best way to do it:
  1. Create 3 different instances of DBRequestManager and use each one depending on what database I have to access.
  2. Create a single global instance of DBRequestManager and initialize it with a different server depending on which server I need to access.
  3. Or it is all the same and I don't need to worry about those little details!! ?
Best regards
 
Top