Still using scripted data source for your POJO's?
Posted by
averma
, 13 September 2010 - 10:20 AM
Actuate BIRT has a new ODA in version 11 that will make it easy to use plain old java objects as a data source.

The setup involves simply pointing ODA to the java library containing POJO's and collection classes in a relative or absolute location.

Once configured you can map public getter methods in Java classes to (whose return type is not void) to data set columns. You can also choose to implement a very simple access interface(IPojoDataSet) that helps working with a collection of these objects to create a data set with multiple rows. Here is a quick video that shows how this is done.
The new ODA also allows you to directly use POJO objects stored in application context. The collection object stored in context can be in the form of java.util.Iterator or java.util.Collection or java.lang.Object[] and is accessed via application context key specified in your data set definition in BIRT design.
POJO's are already popular with data persistence frameworks like Hibernate, Toplink and with this new connector you will be able to leverage these data objects without any extra coding effort. Download the latest release of Actuate to test drive this new ODA.
Ashwini Verma

The setup involves simply pointing ODA to the java library containing POJO's and collection classes in a relative or absolute location.

Once configured you can map public getter methods in Java classes to (whose return type is not void) to data set columns. You can also choose to implement a very simple access interface(IPojoDataSet) that helps working with a collection of these objects to create a data set with multiple rows. Here is a quick video that shows how this is done.
The new ODA also allows you to directly use POJO objects stored in application context. The collection object stored in context can be in the form of java.util.Iterator or java.util.Collection or java.lang.Object[] and is accessed via application context key specified in your data set definition in BIRT design.
POJO's are already popular with data persistence frameworks like Hibernate, Toplink and with this new connector you will be able to leverage these data objects without any extra coding effort. Download the latest release of Actuate to test drive this new ODA.
Ashwini Verma
1 Comments On This Entry
Page 1 of 1
actuser9
25 April 2012 - 10:54 AM
Hi Ashwini,
Very good post...thank you.
I am using Actuate11 SP3 and I am trying to connect to the pojo data source and the ping is successsful. But while creating the data set, the run time properties in your case shows the class "CustomerDataSet - customerlist" but the pojo I am using is not populating any classes like wise. Any idea why?
Very good post...thank you.
I am using Actuate11 SP3 and I am trying to connect to the pojo data source and the ping is successsful. But while creating the data set, the run time properties in your case shows the class "CustomerDataSet - customerlist" but the pojo I am using is not populating any classes like wise. Any idea why?
Page 1 of 1
Recent Entries
Customize parameter collectors for your BIRT report
Publishing reports to BIRT onDemand made easy!
Enable Interactivity in your BIRT Viewer
BIRT goes Mobile!
Make your dashboards more productive for your users
Create interactive Salesforce dashboards with BIRT
Cut that waiting time
Are you up for the challenge?
BIRT in Enterprise Content Management
Leverage non-BIRT content in BIRT 360 Dashboard
Publishing reports to BIRT onDemand made easy!
Enable Interactivity in your BIRT Viewer
BIRT goes Mobile!
Make your dashboards more productive for your users
Create interactive Salesforce dashboards with BIRT
Cut that waiting time
Are you up for the challenge?
BIRT in Enterprise Content Management
Leverage non-BIRT content in BIRT 360 Dashboard
My Blog Links
Recent Comments
0 user(s) viewing
0 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)
Categories
- ad-hoc
- analysis
- big data
- BIRT
- BIRT 360
- BIRT ajax library
- BIRT Android
- BIRT Android Honeycomb
- BIRT Contest
- BIRT dashboard
- BIRT Data Object
- BIRT data source
- BIRT Designer
- BIRT Document
- BIRT ECM
- BIRT excel emitter spreadsheet
- BIRT gadget
- BIRT hackathon
- BIRT iOS
- BIRT iPad
- BIRT iPhone
- BIRT iServer
- BIRT Mobile
- BIRT Mobile app
- BIRT Nuxeo Integration
- BIRT Object
- BIRT Progressive Viewing
- BIRT Report Designer
- BIRT Report Document Data Source
- BIRT Script
- BIRT Server
- BIRT tag library
- BIRT Training
- BRD Pro
- contextual
- cube
- Custom BIRT parameter screen
- custom events
- dashboard
- Data cache
- data object
- Data Set
- demo birt server
- demo iServer
- demo server
- dependency analysis
- Deploy BIRT
- donut chart
- Dynamic Parameter
- e.Report gadget
- EasyScript
- Eclipse BIRT
- emitter
- file size
- flash
- font
- free iPad 2
- google gadget
- hadoop
- Hibernate
- hive
- HTML gadget
- HTML5
- impact analysis
- Interactive BIRT Reports
- Interactive Reporting
- Interactive Viewer
- interactivity
- iServer
- iServer easy installer
- iServer installer
- iServer zip package
- Java Bean
- JavaScript
- jobs
- Join DataSet
- JSAPI
- link BIRT reports
- live demo environment
- Merge DataSet
- Nuxeo
- OLAP
- Parallel report generation
- pipeline dashboard
- POJO
- report dashboard
- Report Designer
- Report Document
- Report Document ODA
- report server
- reporting dashboard
- sales dashboard
- Salesforce
- salesforce dashboard
- scheduling
- sort by group
- Toplink
- Union DataSet




Del.icio.us
Digg
Facebook
Google
Mixx
Reddit
StumbleUpon
