BIRT WITH JAXB [message #702751] |
Tue, 26 July 2011 19:00 |
|
Hello All,
I have recently read one of the Performance improvement powerpoint and as per that we can use the JAXB for BIRT to improve the performance 10 times.
But I new to JAXB, I have never worked with it, also searched alot but did not found any information on JAXB with BIRT. if you have experience in working with JAXB and BIRT then please suggest me some links or help me by shareing some steps or sample code.
Thanks in advance for the help
Shivani
|
|
|
Re: BIRT WITH JAXB [message #702849 is a reply to message #702751] |
Tue, 26 July 2011 22:01 |
|
Where did you get the ppt? Are you using xml datasource?
Jason
On 7/26/2011 3:00 PM, shine_1611 wrote:
> Hello All,
>
> I have recently read one of the Performance improvement powerpoint and
> as per that we can use the JAXB for BIRT to improve the performance 10
> times.
>
> But I new to JAXB, I have never worked with it, also searched alot but
> did not found any information on JAXB with BIRT. if you have experience
> in working with JAXB and BIRT then please suggest me some links or help
> me by shareing some steps or sample code.
>
> Thanks in advance for the help
> Shivani
|
|
|
|
Re: BIRT WITH JAXB [message #703516 is a reply to message #703095] |
Wed, 27 July 2011 16:35 |
|
That ppt was done on an earlier version of BIRT and since then the xml
datasource is much faster. That said you still may get some performance
boost using JAXB. I do not have an example of using JAXB but I do have
an example that uses a document builder. It is attached.
Jason
On 7/27/2011 2:55 AM, shine_1611 wrote:
> Hi Jason,
> Here is that PPT and it is published by ACTUATE, Please check the slide#
> 19
> http://www.docstoc.com/docs/23236254/Designing-High-Performance-BIRT-Reports
>
>
> I am using RPTDesign file currently and as per my understanding that is
> having XML like content so I was wondering if I can use the JAXB for that.
> Please guide me.
>
> Thanks
> Shivani
|
|
|
Re: BIRT WITH JAXB [message #711085 is a reply to message #703516] |
Fri, 05 August 2011 18:58 |
|
Hi Jason,
Thanks you so much for the response as always!!
I checked the example which you have attached. I tried to do few things so that I could use the JAXB with the BIRT report.
I did initial step, where I converted the rptdesign's file content to XSD and using jaxb compiler, created the Javaobject and able do marshaling.
But during this process I got few questions:
1. If I create an XSD, Javaobject and by writing some javacode I bind the XML data file and generate a report. then in that case how I will be utilizing BIRT? Because if I do these steps then i will be writing my own complete code and wondering how BIRT's existing features I will utilize.
2. Other possiblity is that, I might be taking wrong path, may be I need to do it some other way but as I have read about JAXB it is basically XML to Javaobjects and vice-versa. So I am thinking what is the best way to use the JAXB with BIRT to improve the performance.
Thanks a for the help
Shivani
|
|
|
Re: BIRT WITH JAXB [message #713640 is a reply to message #711085] |
Mon, 08 August 2011 16:32 |
|
If you use JAXB you will need to use a scripted data source to access
the generated Java Objects much like the example I posted earlier uses
the Document Builder classes.
Jason
On 8/5/2011 2:58 PM, shine_1611 wrote:
> Hi Jason,
>
> Thanks you so much for the response as always!!
>
> I checked the example which you have attached. I tried to do few things
> so that I could use the JAXB with the BIRT report.
> I did initial step, where I converted the rptdesign's file content to
> XSD and using jaxb compiler, created the Javaobject and able do marshaling.
> But during this process I got few questions:
>
> 1. If I create an XSD, Javaobject and by writing some javacode I bind
> the XML data file and generate a report. then in that case how I will be
> utilizing BIRT? Because if I do these steps then i will be writing my
> own complete code and wondering how BIRT's existing features I will
> utilize.
>
> 2. Other possiblity is that, I might be taking wrong path, may be I need
> to do it some other way but as I have read about JAXB it is basically
> XML to Javaobjects and vice-versa. So I am thinking what is the best way
> to use the JAXB with BIRT to improve the performance.
>
> Thanks a for the help Shivani
>
>
>
|
|
|
Re: BIRT WITH JAXB [message #713887 is a reply to message #713640] |
Tue, 09 August 2011 09:58 |
|
Thank you Jason.
I think then my approach will be good. I am creating my own Datasource and dataset using java and get final XML from JAXB.
But I think that will be little different from the example which you have attached as that sample by default has the XML but here I need to build one and then pass it.
Thanks
Shivani
|
|
|
Re: BIRT WITH JAXB [message #713961 is a reply to message #713887] |
Tue, 09 August 2011 13:44 |
|
If you create an example that can be shared I would like to see if.
Jason
On 8/9/2011 5:58 AM, shine_1611 wrote:
> Thank you Jason.
>
> I think then my approach will be good. I am creating my own Datasource
> and dataset using java and get final XML from JAXB.
> But I think that will be little different from the example which you
> have attached as that sample by default has the XML but here I need to
> build one and then pass it.
>
> Thanks
> Shivani
|
|
|
|
Re: BIRT WITH JAXB [message #717115 is a reply to message #714354] |
Fri, 19 August 2011 11:02 |
|
Thank you so much Jason for help!!
For the benefit of others, I would like to mention that I was able to use the JAXB with Open source BIRT, but I faced some issues with the Scripted Datasource and to solve that issue Jason helped me. But still that problem is not solved completely and I have raised a bug in bugzilla BUG-FOr JAXB.
Other than that you can refer the similar post reply which I raised on birt actuate forum BIRT with JAXB.
Thanks
Shivani
|
|
|
Powered by
FUDForum. Page generated in 0.03691 seconds