Inetgrating iReport(with large no of sub reports) with Spring MVC

折月煮酒 提交于 2019-12-12 01:58:12

问题


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.

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??

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.!!


回答1:


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.

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.



来源:https://stackoverflow.com/questions/7567660/inetgrating-ireportwith-large-no-of-sub-reports-with-spring-mvc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!