Professional Documents
Culture Documents
Jasper Reports is one of the best 'Business Intelligence (BI)' tools/frameworks, which can be used for generating reports for Java applications. Jasper Reports is one of the leading opensource Java reporting libraries. It compiles .jrxml (XML source) to .jasper (compiled) files, which in turn can be transformed into several output types including PDF, HTML, CSV, and XLS. To design the jasper report design file, you can either use iReport or the Jasper Assistant Plug-in for Eclipse. Jasper Reports fully leverages the support for internationalization provided by the Java platform, Including locales. It supports all world languages via Unicode (UTF-8), and also supports other native encodings, such as ISO-8859-1 (Latin 1) for Western European languages. It also supports internationalization via resource files. As a result, a given report may be displayed in different languages and formatted for different locales. Jasper Reports lets you associate a java.util.ResourceBundle with the report template. To facilitate report internationalization, a special syntax is available inside report Expressions to reference java.lang.String resources placed inside a Java.util.ResourceBundle object associated with the report. The $R {} syntax is for Wrapping resource bundle keys to retrieve the value for that key.
We need the following jar files for creating simple example: Commons-beanutils-1.8.0.jar Commons-collections-3.1.jar Commons-digester-2.0.jar Commons-logging-1.0.4.jar IText-2.1.7.jar Jasper-compiler-jdt.jar Jasperreports-3.6.0.jar log4j.jar Those who are new to jasper report can follow this below link and can create a simple example on jasper. http://java-bytes.blogspot.com/2009/06/jasper-reports-example.html