Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visual Designer for JasperReports

Similar presentations

Presentation on theme: "Visual Designer for JasperReports"— Presentation transcript:

1 Visual Designer for JasperReports
Jaspersoft Studio Visual Designer for JasperReports Veaceslav Chicu–Jaspersoft Studio lead developer

2 What is Jaspersoft Studio
Visual Designer for JasperReports Plugin for Eclipse IDE Standalone version based on Eclipse RCP Complete environment for reports design, execution, testing and deployment Open Source Focused on both developers and high level users Designed to be easily extended by other plug-ins

3 Main used Eclipse components
Visual designer based on GEF XML text editor Outline view + tabbed properties Preview reports in different format Preferences per workspace and per project Eclipse based builder to compile reports Classpath management based on Eclipse project classloader Datasource configuration Internationalization Cheat Sheets / Help , Wizards

4 Demonstration Demo: Quick tour of Jaspersoft Studio
Configuring a JDBC connection Create and run a new report Follow these steps to demo how to configure the JasperReports Server plugin and add a report unit to the repository. First, in iReport let’s configure the plugin so we can add content to the repository: 1. From the iReport main menu, select Window > JasperServer Repository. 2. In the Repository Navigator panel, click the Add new server icon (with the little green plus sign). 3. In the pop-up window, assign the name Demo JasperServer. 4. The Organization is organization_1 and login / password are jasperadmin / jasperadmin. 5. Press the Save button and notice your Demo JasperServer appear at the top of the Repository Navigator panel. Now let’s demo how to add a report (or report unit) to the repository: 1. Open any simple report, one that does not include a chart or subreport or any fancy stuff. 2. In the Repository Navigator (the plugin), click the plus sign to expand your Demo JasperServer. If it does not expand, right-click the server icon and select Refresh. 3. Right-click the Public folder at the bottom of your Demo JasperServer folder tree and select Add > Report Unit. 4. In the pop-up ReportUnit Wizard window, enter an ID of demoReportUnit and a Name of Demo Report Unit. 5. Click Next; select Locally Defined, and press the button called Get source from current opened report. 6. Click Next; select From the repository and click the tiny black triangle to open the drop-down box and select /analysis/datasources/FoodmartDataSourceJNDI. 7. Click Finish. If you want, you can log in to JasperReports Server, find your report in the Public folder, and open it. *** end demo *** ©2011 Jaspersoft Corp. All rights reserved.

5 Extending Jaspersoft Studio
Jasperosoft Studio extensions JasperReports JasperReports extensions

6 Custom query designers Custom JasperReports components
Made to be extensible Several extension points to support: Custom data adapters Custom mapping tools Custom query designers Custom JasperReports components Custom repository view extensions

7 Data Adapters What is a Data Adapter
A way to define a source for JasperReports using a configuration file (to be used in example in the JasperReports web framework) The basic structure to provide support for data sources in Jaspersoft Studio and other environments (i.e. JasperReports Web Framework)

8 How to implement a Data Adapter
Implement a DataAdapter, DataAdapterService and DataAdapterFactory A DataAdapterService is a ParameterContributor The factory can be registered as jasperreports extension Implement a DataAdapterDescriptor and its factory Factory  Creates the descriptor and provides label and icon Descriptor  Provides visual editor to edit the DataAdapter Contributed via dataAdapters extension points

9 Mapping tools and Query designers
What is a Mapping Tool A way to help the user to identify and add to a report the fields provided by a data source What is a Query designer A special tool to design queries of a particular language (i.e. SQL, HSQL etc…) Contributed via mappingTool and queryDesigner extension points

10 Custom components What is a JasperReports custom components? A way to provide support for complex custom elements based on the primitive elements of JasperReports (i.e. Table component, Barcodes, Map, etc…) How can you support a custom component in Jaspersoft Studio? Ability to plug designer extensions (palette, model, edit parts, figures, commands,…) Contributed via components and palette extension point

11 Need more? Repository Extensions
What is the Repository view? A place where to store and define resources and tools to interface with external world (i.e. data adapters, JasperReports Server connections, …) Contributed via repositoryview extension point

12 Thank You
Follow us:

Download ppt "Visual Designer for JasperReports"

Similar presentations

Ads by Google