Datasource | Advantages | Disadvantages | Configuration | ||
Implicit Configured in the Presto Server by Presto administrators.
| Single, consistent configuration. Easily managed in clustered environments. Credentials for database access are secure (encrypted in the Presto Repository). Supports 'hot' updates to drivers without restarting the Presto Server. | Does not support dynamic connection information. Connection and credential information is static in the Presto Repository. | See Manage Data Sources and Drivers for instructions on how to define datasources in the Presto Server. | ||
Explicit Declared in the mashup script using the <datasource> element. | Can support dynamic connection information or credentials using Presto attributes or input parameters to the mashup script. | Credentials and connection information is less secure, as clear text within the mashup script or defined as input parameters or Presto attributes. Configuration is in individual mashup scripts, and thus harder to manage and maintain consistency. If datasources are named, connection information must be consistent across all mashup scripts in the Presto Repository. | You must add and configure drivers in the Presto Server for explicit datasources. See Configuring Datasource Drivers for instructions. |