使用Spring MVC进行iReport(带有大量子报告) [英] Inetgrating iReport(with large no of sub reports) with Spring MVC

查看:257
本文介绍了使用Spring MVC进行iReport(带有大量子报告)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前的应用程序包括一个功能,即在前面的Spring MVC中显示iReports 4.1.1中设计的报告,并在后面使用PostgreSQL。

My current application includes a functionality of displaying a report designed in iReports 4.1.1 from Spring MVC at front and using PostgreSQL at back.

现在我更多关注其性能问题。

Now i am more of concerned about its performance issues.

显示数据的主报告最多包含20个子报告。
和每个子报表都有运行它的高成本查询。

The Main report which will display data has as many as 20 subreports at most. and each subreport has high cost query running for it.

那么当用户数增加时出现性能问题的可能性是多少(简言之,当应用程序数量增加时) )?
如果有任何这样的潜在问题,有什么补救措施?

So what are the chances of having performance issues when the user count increases (in short when application scales)?? And if there is any such potential problem in coming, what are the remedies??

还有一个不同的天真怀疑:我是否需要使用jasperserver或者只是直接集成JRXML(我现在正在做什么)?它无论如何影响性能?
提前致谢。!!

Also one vary naive doubt: do i need to use jasperserver or just integrate the JRXML directly (what i am just doing now)? does it affect performance anyway?? Thanks in advance.!!

推荐答案

如果您只是使用JRXML方法(我宁愿使用前编译的.JASPER文件,因为报告文件不需要在服务器运行时编译),所有与Jasper相关的东西都在你的应用程序中运行。如果您使用的是Jasper Server,那么它将在它自己的webapp中运行,具体取决于您配置和启动JasperServer的方式。

If you just use the JRXML approach (I'd rather use the pre-compiled .JASPER file, as the report file doesn't need to be compiled at server-runtime), all Jasper-Related stuff is running inside your application. If you are using the Jasper Server then it'll run in it's own webapp, depending on how you configured and started JasperServer.

问题是,我不确定Spring是否为集成JasperServer提供了即插即用解决方案,但您仍然可以使用该方法编写所有内容Jasper-Code自己。

The thing is, I'm not sure if Spring provides a "plug-and-play" solution for integrating JasperServer, but you still can use the approach to write all the Jasper-Code yourself.

这篇关于使用Spring MVC进行iReport(带有大量子报告)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆