JasperReport and NG client appication

Forum to discuss the new web client version of Servoy.

JasperReport and NG client appication

Postby derk.hulshof » Fri Mar 11, 2016 12:48 pm

Hi All,

I am figuring out what version of Jasper Studio and plugin is best suited to use in NG client.
I would like to create 'simple' pdf's like invoice/quotations, etc

Latest Studio version is 6.20
Latest Plugin on ServoyForge is 502a2

There are 2 types of plugins basic and advanced.

Can someone please tell me what version are most compatable and best suited to use.

Tnx for any advice

Derk
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: JasperReport and NG client appication

Postby patrick » Fri Mar 11, 2016 3:01 pm

Latest version of the plugin is 6.0 and that is compatible with Jasper 6.2.0. For simple PDFs the Basic version of the plugin should do.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: JasperReport and NG client appication

Postby derk.hulshof » Mon Mar 14, 2016 12:29 pm

Tnx for the upload of the version 6.0 plugin

What advanced stuff can I do with the advanced plugin ?
What is the difference between basic and advanced?

tnx
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: JasperReport and NG client appication

Postby derk.hulshof » Mon Mar 14, 2016 4:25 pm

Maybe I am missing something

But using standard plugin v6

Created a simple report in Jasper Studio 6.2

calling:
plugins.jasperPluginRMI.runReport(_server, _report, null, 'view', _params, _locale );

result:
2016-03-14 15:22 Executor,uuid:8fc7ae57-095b-4129-958c-221edfef23ec ERROR org.sablo.eventthread.EventDispatcher Exception in dispatch()
java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.design.JRJavacCompiler
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at net.sf.jasperreports.engine.JasperCompileManager.getCompiler(JasperCompileManager.java:823)
at net.sf.jasperreports.engine.JasperCompileManager.getEvaluator(JasperCompileManager.java:380)
at net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:467)
at net.sf.jasperreports.engine.fill.BaseReportFiller.<init>(BaseReportFiller.java:152)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:239)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:69)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:57)
at net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:201)
at net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:216)
at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:85)
at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:456)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:863)
at com.servoy.plugins.jasperreports.JasperReportRunner.getJasperPrint(JasperReportRunner.java:584)
at com.servoy.plugins.jasperreports.JasperReportsServer.getJasperPrint(JasperReportsServer.java:1007)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.util.AbstractRemoteInvocationHandler.invokeMethod(AbstractRemoteInvocationHandler.java:77)
at com.servoy.j2db.util.ThreadingRemoteInvocationHandler$1.run(ThreadingRemoteInvocationHandler.java:79)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: JasperReport and NG client appication

Postby derk.hulshof » Tue Mar 22, 2016 9:52 am

Am I the only one facing this error?
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: JasperReport and NG client appication

Postby sbutler » Wed Mar 23, 2016 11:20 pm

Same issue here. There is another topic: https://www.servoy.com/forum/viewtopic.php?f=15&t=21226 And also a ticket created on the Servoy Forge project: https://www.servoyforge.net/issues/1000

At this point, it seems that you can't use Jasper Reports with the ngClient in Servoy 8.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: JasperReport and NG client appication

Postby Gordon McLean » Thu Mar 24, 2016 9:12 am

Hi Derk

Have you considered the Velocity Reports plugin ? this should work, is really easy to use and provides lots of features including PDFs and Charts ??

Best
Gordon
Gordon McLean
Clickdigital.com
Gordon McLean
 
Posts: 253
Joined: Wed Aug 03, 2005 12:24 pm
Location: UK

Re: JasperReport and NG client appication

Postby derk.hulshof » Thu Mar 24, 2016 10:14 am

Thank you for your replies.

I only have seen Velocity shown by Patrick in a servoycamp.
Never used it in development or test/production.

What more options are there beside Velocity, beside writing my own plugin?
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: JasperReport and NG client appication

Postby IT2Be » Thu Mar 24, 2016 10:17 am

Another option is our Word Plug-in.

It offers plenty of methods to create invoices and very nice reports.
Export to PDF is also possible.

I will talk about the Word Plug-in @ ServoyCamp and show off a very nice report made with the Plug-in.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: JasperReport and NG client appication

Postby mnaeimi » Thu Mar 24, 2016 11:04 am

Hi Derk,

ChartNScript_Servoy_JasperReports_Plugin_v.5.0.0 and Advanced_Servoy_JasperReports_Plugin_v.5.0.0 work fine with NG client. Our clients are using them without any problem.
Please let me know if you have any question.

Regards,
Mina
Mina @ Servoy
mnaeimi
 
Posts: 26
Joined: Fri Jun 08, 2012 2:48 pm

Re: JasperReport and NG client appication

Postby derk.hulshof » Thu Mar 24, 2016 11:34 am

IT2Be wrote:Another option is our Word Plug-in.

It offers plenty of methods to create invoices and very nice reports.
Export to PDF is also possible.

I will talk about the Word Plug-in @ ServoyCamp and show off a very nice report made with the Plug-in.


Looking forward to your presentation
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: JasperReport and NG client appication

Postby derk.hulshof » Thu Mar 24, 2016 11:37 am

mnaeimi wrote:Hi Derk,

ChartNScript_Servoy_JasperReports_Plugin_v.5.0.0 and Advanced_Servoy_JasperReports_Plugin_v.5.0.0 work fine with NG client. Our clients are using them without any problem.
Please let me know if you have any question.

Regards,
Mina


Hi Mina,
What version of Jasper Studio are you using to create your reports?
Latets is Studio version 6.2.0
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: JasperReport and NG client appication

Postby patrick » Thu Mar 24, 2016 11:41 am

I have created a case for this (SVY-9633) and we'll investigate it. It sounds like there is some class conflict.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: JasperReport and NG client appication

Postby mnaeimi » Thu Mar 24, 2016 12:07 pm

I would suggest jasper studio 5.6.

derk.hulshof wrote:
Hi Mina,
What version of Jasper Studio are you using to create your reports?
Latets is Studio version 6.2.0
[/quote]
Mina @ Servoy
mnaeimi
 
Posts: 26
Joined: Fri Jun 08, 2012 2:48 pm

Re: JasperReport and NG client appication

Postby derk.hulshof » Thu Mar 24, 2016 12:12 pm

mnaeimi wrote:Hi Derk,

ChartNScript_Servoy_JasperReports_Plugin_v.5.0.0 and Advanced_Servoy_JasperReports_Plugin_v.5.0.0 work fine with NG client. Our clients are using them without any problem.
Please let me know if you have any question.

Regards,
Mina


Hi Mira,
I did a little very simple test and it works.. :D
thank you

Used and tested in:
Servoy 802 and 803
Basic_Servoy_JasperReports_Plugin_v.5.0.0
Jasper Studio version 6.2.0
Last edited by derk.hulshof on Thu Mar 24, 2016 12:25 pm, edited 1 time in total.
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Next

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 4 guests