Escolar Documentos
Profissional Documentos
Cultura Documentos
Major Components
Spring Framework 2.5.6.SEC02 Inversion of Control -Spring MVCHibernate integration http://springframework.org Spring Security 2.0.4 -Authentication, Authorization http://springframework.org
Spring Web Flow 2.0.7 -Application control framework http://springframework.org JasperReports 4.0.0 - Report rendering and display http://jasperforge.org/projects/jasperreports Hibernate 3.3.2 -Object relational mapping and persistence http://hibernate.org SiteMesh 2.2.1 -Web layout and decoration http://www.opensymphony.com/sitemesh/ Apache Axis 1.3 and Axis2 axis-saaj-1.3 - Web Services http://ws.apache.org/axis
axis-jaxrpc-1.3 and wsdl4j-1.5.1 - Web Services http://ws.apache.org/axis Maven2 2.2.1 - http://maven.apache.org JasperReports Server Subcomponents
The metadata repository is a database that holds configurable resources required for business intelligence. The repository is organized into folders, and resources can appear anywhere in the folder hierarchy. Every resource has a name, label, description and type associated with it.
Report Unit
The individual reports that people can run are reflected in JasperReports Server as "Report Units". A report unit contains all the required resources to produce a report, which are below:
JRXML: the JasperReports definition file Data source: A database connection to populate the report. Additional resource types which can be used on an as needed basis include: Images Fonts Sub reports JAR files for JasperReports scriptlets Data types for report parameters Input controls: groupings of data types Resource bundles for localization/internationalization
A report unit can contain private resources only for use by the given report unit, or can refer to resources in the metadata repository that exist independently of a given report unit: eg. there may be a data source, image or font that is useful across report units. In planning your use of the repository for reporting, consider what resources would be useful across different report units. For example, you are likely to have a limited number of data sources with multiple reports using each data source, so set up the data sources once and then refer to them in the report units. There may be other resources like a common company logo image or departmental resources that a number of reports will refer to.
JasperReports Server will look for an image file named MyLogo.jpg in the images folder.
Single Select (text field) Single Select from a list of values (list box) Boolean (check box) Multiple Select from a list of values - not implemented Multiple Select - not implemented
Since the end-user is free to enter any value into a Single Select Input Control, validation is required. Each Single Select control is associated with a Data Type that defines the validation rules for that control. The Data Type is a resource in the metadata repository and thus has a name, label, and description. In addition, Data Types have the following attributes:
Type: Text, Number, Date, Date/Time Pattern: formatting related to the underlying Java data type Minimum Value, Maximum Value: range of values, can be open-ended in one direction Is strict minimum, Is strict maximum: values have to be strictly less than or greater than, not equal to Mandatory: a value is required Read only: the value cannot be altered by the user
Security
The user names and passwords for the application are stored in the metadata repository and use form-based authentication. By default, passwords are unencrypted in the database, though this can be changed through straight forward configuration. Based on the use of the Acegi Security framework, the authentication mechanism can be changed to use external authentication services like LDAP. See here for more details. The application does not currently manage the distinction between externally defined users and roles. We will work to allow externally authenticated users to have seamless access to reports by "inheriting" the roles external authentication services present to JasperReports Server.