资 源 简 介
The g2 Report Engine is an open source reporting framework that integrates with your Java/J2EE application to produce reports. In addition to basic reports, the G2 Report Engine also support charting, visualizations, maps, excel export, dashboards and more.
Recent Updates
6/05: Basic PDF support added
5/21: Now supports basic JDO queries on Goole App Engine
![http://g2-report-engine.googlecode.com/svn/wiki/dashboard-screenshot.png](http://g2-report-engine.googlecode.com/svn/wiki/dashboard-screenshot.png)
API Integration
Similar to many existing solutions, reports are defined and then persisted to XML. Using a simple API the report definition XML can be processed to generate a business intelligence report in various formats (HTML, Excel).
The following code block demonstrates generating a basic HTML report with user input:
```
File inputFile = new File("PetLocatio