JasperReportViewer - plugin detail

Run Jasper Reports from Swing JPA/JDBC based applications

NetBeans Plugin - JasperReportViewer
Plugin owner: linus@uaic.ro
Website:
Added: 2007-05-25
License: GPL
Category:
Downloaded: 37,284 times
Rating:
 4.17, by 8 users

Plugin Log Show log

Versions available



Introduction

1. After installing plug-in in NetBeans IDE you will observe a new category in Swing Palette: JasperReport Viewer
2. In a NetBeans Form (from where Jasper Reports (jrxml or jasper) must be invoked) created in an JPA project (meaning that persistence.xml must exists) you can add JasperRunnerButton.
3. The most important property is reportURL where you must provide the path and the name of the target Jasper report. The appropriate syntax must be relative to project package-structure and must be specified using normal Java conventions such as: /japp/view/reports/Report.jasper. Even a more java-source-like syntax is accepted, like japp.view.reports.Report.jasper.
4. Of course, the target report file must be included in NetBeans project and must be send in compilation (build/classes) or distribution path.
5. Other optional properties:
- reportParameters - to send parameters using a Map containing parameter name - value pairs;
- runSynchronous - to disable lunching button until preview window is up;
- databaseURL, databaseUser, databasePassword, databaseDriver if it is a JDBC only application (not a JPA context)
- sqlText - to send as parameter for JasperReport a SQL phrase like those used to initialize JDBC Prepared Statements and where the parameters marked with ? symbol will be replaced by the Map supplied with reportParameters property, Map that will include index-value pairs this time.
6. The plug-in installs the necessary jasper libraries (jars), so there is no need to add them separately.
7. The plug-in requires JDK 6 and it is based on JasperReports 1.3.3
8. The JasperReportViewer.jar contains JasperReportHelper class that is doing the whole integration work. This class contains three runJasper methods that can be called to lunch a Jasper report using database parameters or a JDBC connection or even a JDBC PreparedStatement.

[ You have to be logged in to be able to comment. ]

User Comments

  

help

I need the JasperReportViewer - plugin i have de IDE netbeans 6.9.1 can you help me. please send me this plugin today...
my e mail is silenthill_resident@hotmail.com
Posted by XxDavid19xX on Dec 20, 2012
  

help

I need the JasperReportViewer - plugin i have de IDE netbeans 6.9.1 can you help me. please send me this plugin today...
my e mail is silenthill_resident@hotmail.com
Posted by XxDavid19xX on Dec 20, 2012
  

Palette:- JasperReport Viewer

I m using NetBeans IDE 7.1.2 and installed all 4 plugins of ireport( iReport-4.5.0 )..

But i m not able to view JasperReport Viewer in swing palette.

I have also added all the libraries of Jasper
Posted by patidar88 on Sep 08, 2012
  

palate not appearing

The palate JasperReport Viewer is not appearing on the palate section
i am using netbeans 6.9.1
why this happens?
Posted by deepak_pilai on Mar 12, 2012
  

Plan for next release

As iReport plug-in will be ready enough for NetBeans, next release of this tinny plug-in will allow to lunch JasperReports having EJBQL data sources ...
Posted by catalinus on Oct 23, 2008
  

Great Addon

It is really nice to see Jasper report viewer with netbeans. This gives us great help in viewing reports with much ease. Well Done
Posted by kanchana2 on Oct 21, 2008
  

Updated version

Now it's update to 2.0.3 version of JasperReports
Posted by linus@uaic.ro on Jan 14, 2008
  

Upgrading....

I'll never thought that this tiny "report button" will have over 4000 users (or, at least, evaluators). So in January at the most I'll update to the last version of JasperReports.
Posted by linus@uaic.ro on Dec 14, 2007
  

It seems great but...

What about an upgrade? JasperReports is already on 2.2 I think. Isn't there a way to get the source code to upgrade it?
Posted by javydreamercsw on Dec 09, 2007
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo