如何在java中生成没有数据库的报表 [英] How to generate report without database in java

查看:89
本文介绍了如何在java中生成没有数据库的报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用我的java应用程序生成一个pdf报告我正在使用JasperReport库。我使用数据库生成了一个报告,但我想生成没有任何数据库连接。我想使用ArrayList,Arrays作为我的数据源。

I want to generate a pdf report with my java application I am using JasperReport library. I generated a report using database but I want to generate without any database connection. I want to use ArrayList , Arrays as my data source.

推荐答案

来自JasperReports网页
from the JasperReports web page

JasperReports Library是世界上最受欢迎的开源报告引擎。它完全用Java编写,它能够使用来自任何类型数据源的数据

The JasperReports Library is the world's most popular open source reporting engine. It is entirely written in Java and it is able to use data coming from any kind of data source





检查非数据库源文档。



Check the documentation for non-database sources.


这篇关于如何在java中生成没有数据库的报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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