EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  access jasper reports within richui handler

    Posted Wed May 27, 2015 05:34 AM

    Hello, 

    I am trying to call jasper reports inside richui handler. Is there any way to do that?  I found this url but is it the right way: 

    http://www-01.ibm.com/support/knowledgecenter/SSMQ79_8.0.1.5/com.ibm.egl.pg.doc/topics/pegl_rep_handler_creating_tsk.html

    Thanks

    michaeldefox


  • 2.  Re: access jasper reports within richui handler

    Posted Wed May 27, 2015 07:56 AM

    Hi,

    I would recommend that you use the BIRT reports with EGL.  Integration with Jasper Reports has been deprecated as of RBD V9.0.

    Mark

    markevans


  • 3.  Re: access jasper reports within richui handler

    Posted Wed May 27, 2015 02:53 PM

    For what its worth, we've had much success using BIRT for our reporting and excel, pdf, etc. exports needs.  We have it installed on WAS as a separate application and redirect to if from EGL where needed.  To minimize the data access duplication we utilize views and stored procedures.

    Daron

    canutri


  • 4.  Re: access jasper reports within richui handler

    Posted Wed May 27, 2015 08:02 AM

    Jasper reports is a java library, so I assume it will not be possible with EGL Rich UI because it generates javascript.

    Similar to the excel problem you will need to create a web service or a stand alone java program.

    Bram_Callewaert


  • 5.  Re: access jasper reports within richui handler

    Posted Tue June 02, 2015 08:08 AM

    You are right but could we call java class as an external type or something from service project using servlet?

    I searched for some tutorials and guides and maybe you could help me more Thanks.

    http://aspalliance.com/1140_Creating_Report_Using_JasperReports.8

    http://javaknowledge.info/calling-jasper-report-from-java-application-working-example/

    http://www.developer.com/java/getting-started-with-jasperreport.html

     

    michaeldefox


  • 6.  Re: access jasper reports within richui handler

    Posted Tue June 02, 2015 08:34 AM

    Hi,

    maybe someone has experience and can provide more details.   But given you are trying to create a custom solution with external types, I would recommend you use the documents you found and see if you can get it to work.

    If you want to use BIRT, then EGL has support to integrate this from EGL code.

    take care.

     

    Mark

    markevans


  • 7.  Re: access jasper reports within richui handler

    Posted Tue June 02, 2015 08:42 AM

    You don't need a servlet. You need an EGL service to use the externaltype objects (they wrap the java code)

    This is technically very similar to the excel application we discussed earlier.

     

    As Mark suggests I would investigate BIRT as this can be integrated without the hassle of externaltypes.

    Bram_Callewaert