### Examples of using the UDS API

The user data source API is flexible and convenient to use. Before you implement it, you should first make an overall consideration of the architecture. JReport provides you with several scenarios which use the JReport UDS API. You can refer to them for assistance.

- When there is no JDBC driver available for an external data source (for example, a comma-delimited text file), you can create a ResultSet object to return the data to the requesting report. See Example 1: Developing reports from flat file UDS.
- You can return a ResultSet through the JDBC API. See Example 2: Developing reports from SQL data source UDS.
- Oracle stored procedure UDS. See Oracle stored procedure UDS.