dataSourceName.properties
where dataSourceName is a name you choose to describe the data source.
For example, c:\jdbcrsc\MSSQL.properties (Windows) or /home/jdbcrsc/MSSQL.properties (UNIX).
type=javax.sql.DataSource driver=driverClass url=JDBC-URL user=userID password=password
driverClass | The name of the JDBC driver's main class. |
JDBC-URL | A URL that identifies the server and database. |
userID | The user ID required to log onto the server and database. If not required by the database or if the user ID is supplied by your application at run time, leave the value blank. |
password | The password that accompanies the specified user ID. If not required by the database or if the password is supplied by your application at run time, leave the value blank. |
For more information on driver classes, see JDBC Driver Classes. For more information on JDBC URLs, see JDBC URLs. To see several example DataSource object files, see Sample DataSource Object Files.