Dynamic data sources for report generation [message #647038] |
Tue, 04 January 2011 09:09 |
|
Hello all,
I'm hoping to get some suggestion on reporting with BIRT. I checked out the basic tutorials and I felt that BIRT is highly database centric. I have a totally different situation.
I have to generate report from a different kind of data-source and its dynamic! The data to be published is created on the fly(that's the work of other module) and I have complicated data structures holding the data(like List of Maps). I can't have a template, as it all depends on user interaction. But the data structure contains all the data that would be required to create report, namely column names, number of rows, and values of a row.
I'm really confused how to create report from this kind of data-source. BIRT has support only for POJO. Is there any way that I can specify a map as a dataset and a java class as data source? Or if not, what can be the alternatives?
Thanks a lot in advance,
|
|
|
Re: Dynamic data sources for report generation [message #647103 is a reply to message #647038] |
Tue, 04 January 2011 15:42 |
|
You can use a scripted datasource. The scripted datasource can be
written in Java or JavaScript. Here is an older example:
http://eclipse.org/birt/phoenix/examples/scripting/scriptedd atasource/
Jason
On 1/4/2011 4:10 AM, Ozyman wrote:
> Hello all,
>
> I'm hoping to get some suggestion on reporting with BIRT. I checked out
> the basic tutorials and I felt that BIRT is highly database centric. I
> have a totally different situation.
>
> I have to generate report from a different kind of data-source and its
> dynamic! The data to be published is created on the fly(that's the work
> of other module) and I have complicated data structures holding the
> data(like List of Maps). I can't have a template, as it all depends on
> user interaction. But the data structure contains all the data that
> would be required to create report, namely column names, number of rows,
> and values of a row.
>
> I'm really confused how to create report from this kind of data-source.
> BIRT has support only for POJO. Is there any way that I can specify a
> map as a dataset and a java class as data source? Or if not, what can be
> the alternatives?
>
> Thanks a lot in advance,
|
|
|
Re: Dynamic data sources for report generation [message #647104 is a reply to message #647103] |
Tue, 04 January 2011 15:44 |
|
You may also want to look at:
http://www.vogella.de/articles/EclipseBIRT/article.html
Jason
On 1/4/2011 10:42 AM, Jason Weathersby wrote:
> You can use a scripted datasource. The scripted datasource can be
> written in Java or JavaScript. Here is an older example:
> http://eclipse.org/birt/phoenix/examples/scripting/scriptedd atasource/
>
> Jason
>
> On 1/4/2011 4:10 AM, Ozyman wrote:
>> Hello all,
>>
>> I'm hoping to get some suggestion on reporting with BIRT. I checked out
>> the basic tutorials and I felt that BIRT is highly database centric. I
>> have a totally different situation.
>>
>> I have to generate report from a different kind of data-source and its
>> dynamic! The data to be published is created on the fly(that's the work
>> of other module) and I have complicated data structures holding the
>> data(like List of Maps). I can't have a template, as it all depends on
>> user interaction. But the data structure contains all the data that
>> would be required to create report, namely column names, number of rows,
>> and values of a row.
>>
>> I'm really confused how to create report from this kind of data-source.
>> BIRT has support only for POJO. Is there any way that I can specify a
>> map as a dataset and a java class as data source? Or if not, what can be
>> the alternatives?
>>
>> Thanks a lot in advance,
>
|
|
|
Powered by
FUDForum. Page generated in 0.03587 seconds