General
Jasper Report Server consist of
- a WAR file, contain jasper library
- optional, Tomcat as a web container
- optional, PostgreSQL DB
it uses Spring 3.1
it need minimum 2 gb RAM, 10gb harddisk
it uses, ant script for install/ uninstll/ test the environment
- lets use Server's Datasoruce pool for DB connection
- lets NOT embed the SQL query in template, to speed the development by avoiding unnecessary compile the tmeplate
- and also possible to run any procedure or function get the Cursor
- let use JRVirtualizer for large volume of data
- if XML template is not create at runtime, use of ANT task to compile is good idea
- always use JasperReport object to represent compiled Native format of jasper report
- i should use
only if data source other than DB such as CSV - I SHOUld use
only if data source other than DB. - I should use
only if data souce other than DB - use of
when same report content displayed by different report. It is like - load the image one time into memory and use entire life of application
- Export filled jasper report into xml when u want to keep report in DB. So that it is human readable, again convert to JasperPring
Jasper Report Server
- it is accessed by RESTful web services
- now it has version 2 API.
Built-in Variable
- PAGE_COUNT
- PAGE_NUMBER
- COLUMN_COUNT
- COLUMN_NUMBER
- REPORT_COUNT Contains the total number of records in the report.
_COUNT Contains the total number of records in the group named NameOfGroup
Built-in Parameter
- REPORT_PARAMETERS_MAP refer java.util.HashMap object, used to pass subreport
- REPORT_DATA_SOURCE refer implementation of JRDataSource, used to pass subreport
- REPORT_CONNECTION refer java.sql.Connection object, used to pass subreport
- IS_IGNORE_PAGINATION used in HTML/text report generation
- REPORT_LOCALE
- REPORT_RESOURCE_BUNDLE refer implementation of ResourceBundle
- REPORT_MAX_COUNT
- REPORT_SCRIPTLET refer implementation of JRDefaultScriptlet
- REPORT_VIRTUALIZER refere implementation of .JRVirtualizer