Chapter 11. Using a Scripted Data Source

BIRT supports accessing a data source using JavaScript code. A data source that you access using JavaScript is called a scripted data source. With a scripted data source, you can access objects other than a SQL, XML, or text file data source. Because the JavaScript code for accessing and managing a scripted data source can wrap Java objects, a scripted data source can be an EJB, an XML stream, a Hibernate object, or any other Java object that retrieves data.

A scripted data source must return data in tabular format so that BIRT can perform sorting, aggregation, and grouping.

Creating a scripted data source and scripted data set

Creating a scripted data source and creating a non-scripted data source are similar. ...

Get Integrating and Extending BIRT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.