Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » RCP Integration with Java Classes
RCP Integration with Java Classes [message #512741] Sun, 07 February 2010 00:55 Go to next message
Torge Kummerow is currently offline Torge KummerowFriend
Messages: 26
Registered: July 2009
Junior Member
Hello everyone,

to be honest, I am a little bit confused and need a statement.


My situation:

I do import data from Excel sheets into a Java class hierarchy. No
database. And I have a RCP GUI whose sole purpose is to display that
data. There is where I taught BIRT Reports could come into play.


So my question:

Can I use BIRT to display the information encapsulated in my Java
objects, without the need to install a Tomcat or a different Server?


Hope someone can answer that,
Torge Kummerow
Re: RCP Integration with Java Classes [message #513277 is a reply to message #512741] Tue, 09 February 2010 15:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Torge,

BIRT can be used for this.
I just did a webinar showing RCP integration:
http://www.birt-exchange.org/devshare/deploying-birt-reports /1145-birt-2-5-integration-webinar/#description
Slides and example apps are available at the link above. In your case
you want use the Report Engine in the RCP app. Take a look at the
example and find this one:
org.eclipse.birt.examples.rcpengine

To push your objects into the report engine, add them to BIRT's app
context like:

task.getAppContext().put("myobject", myinstance);

Then within BIRT script you can call your objects like:

myobject.getMethod(); or
reportContext.getAppContext("myobject").myMethod();

Jason

Torge Kummerow wrote:
> Hello everyone,
>
> to be honest, I am a little bit confused and need a statement.
>
>
> My situation:
>
> I do import data from Excel sheets into a Java class hierarchy. No
> database. And I have a RCP GUI whose sole purpose is to display that
> data. There is where I taught BIRT Reports could come into play.
>
>
> So my question:
>
> Can I use BIRT to display the information encapsulated in my Java
> objects, without the need to install a Tomcat or a different Server?
>
>
> Hope someone can answer that,
> Torge Kummerow
Re: RCP Integration with Java Classes [message #513695 is a reply to message #513277] Wed, 10 February 2010 15:50 Go to previous message
Torge Kummerow is currently offline Torge KummerowFriend
Messages: 26
Registered: July 2009
Junior Member
Thanks a lot Jason,

this sounds exactly like what I was hoping for. I'll give it a try. I
was already starting to use on the fly generated CSV files to achieve my
goal.

Torge

Am 09.02.2010 16:56, schrieb Jason Weathersby:
> Torge,
>
> BIRT can be used for this.
> I just did a webinar showing RCP integration:
> http://www.birt-exchange.org/devshare/deploying-birt-reports /1145-birt-2-5-integration-webinar/#description
>
> Slides and example apps are available at the link above. In your case
> you want use the Report Engine in the RCP app. Take a look at the
> example and find this one:
> org.eclipse.birt.examples.rcpengine
>
> To push your objects into the report engine, add them to BIRT's app
> context like:
>
> task.getAppContext().put("myobject", myinstance);
>
> Then within BIRT script you can call your objects like:
>
> myobject.getMethod(); or
> reportContext.getAppContext("myobject").myMethod();
>
> Jason
>
> Torge Kummerow wrote:
>> Hello everyone,
>>
>> to be honest, I am a little bit confused and need a statement.
>>
>>
>> My situation:
>>
>> I do import data from Excel sheets into a Java class hierarchy. No
>> database. And I have a RCP GUI whose sole purpose is to display that
>> data. There is where I taught BIRT Reports could come into play.
>>
>>
>> So my question:
>>
>> Can I use BIRT to display the information encapsulated in my Java
>> objects, without the need to install a Tomcat or a different Server?
>>
>>
>> Hope someone can answer that,
>> Torge Kummerow
Previous Topic:Install Birt from an local update site
Next Topic:Please help with secondary y-axis on stacked bar chart
Goto Forum:
  


Current Time: Thu Mar 28 12:44:33 GMT 2024

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

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

Back to the top