BIRT Exchange Forum: Reporting Java Objects? - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Reporting Java Objects? Rate Topic: -----

#1 User is offline   spence Icon

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 24-January 08


Posted 24 January 2008 - 11:34 AM

Hello, I've just downloaded the demo designer, and am having difficulty seeing how to report using java objects. Is it not possible to instruct the report to execute a bit of java code that returns an object graph, and then define the contents of the report using the values of various properties in the object graph?

Reporting using java objects as a data source is listed as a feature of the software, but I need some further instruction on how to achieve this.

Thanks.
0

#2 User is offline   rmurphy Icon

  • Senior Member
  • View blog
  • Group: Members
  • Posts: 364
  • Joined: 09-August 07


Posted 29 January 2008 - 09:05 AM

You can use the e.Spreadsheet Engine to programmatically create an XLS file using data from Java objects. The e.Spreadsheet Designer does not support Java objects as a data source.

Here is a live example of creating a XLS file using the API:
http://www.birt-exch...p?cid=4&lid=194

Here is the source code for the above example
http://www.birt-exch...p?cid=4&lid=189

Rob
0

#3 User is offline   RussW Icon

  • Member
  • Group: Members
  • Posts: 104
  • Joined: 07-August 07


Posted 29 January 2008 - 09:05 AM

You can always write Java code to populate the spreadsheet directly, either writing engine code or a callback class. You can also call static Java methods from directly within a Data Range. eSS also support ODA version 1.3 (the version Birt uses won't be supported until eSS version 10).

Can you tell me where you saw this feature listed?
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users