开发者

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

开发者 https://www.devze.com 2023-04-08 11:51 出处:网络
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.

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消