Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Dynamic data sources for report generation
Dynamic data sources for report generation [message #647038] Tue, 04 January 2011 09:09 Go to next message
Ozyman is currently offline OzymanFriend
Messages: 1
Registered: January 2011
Junior Member

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 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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,
>
Previous Topic:BIRT & gzip problem?
Next Topic:BIRT Error
Goto Forum:
  


Current Time: Thu Nov 20 21:20:11 GMT 2014

Powered by FUDForum. Page generated in 0.01932 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software