RSS

New to JasperReport : Make it one for all and all for one

27 Feb

Reporting is a critical element that almost every application, either it’s desktop or web based should have. Almost all application developer focused on how to make strong reliable application, but they somewhat forget about this section. Today i will make a basic tutorial for an application that could be integrated into reporting engine, in this case, i will use JasperReport + Java.

Before we start to the core of this tutorial, i will show you how to make your PC/Laptop a “JasperReport-Ready”. Things that you should have to prepare :

1. Netbeans IDE
Netbeans is an integrated development environment (IDE) for Java, PHP, C/C++, Ruby, Python. You can download the latest release here

2. iReport Designer
iReport is a JasperReport designer. With this, you can build your preferable report, design it as your favourite, and integrate it into database. you can download the latest release here

3. JasperReport library
JasperReport is the core engine of reporting library. You can download the library here (need authentication). The dependencies libraries are :

After you’ve done downloaded such many things, let’s make your PC “JasperReport-ready”. Follow these steps :

1. Install Netbeans IDE latest version
2. Install iReport designer
3. Once you’ve installed these 2, follow these special steps :

  • Open your netbeans IDE
  • Click Tools->Libraries as follows :
  • nb-library

    Netbeans IDE

  • A new Library Manager window will appear. Click on New Library.. button
  • Type JasperReport on Library Name (you can use any other name as you like) :

    new-lib

    New Library

  • After that, you will back to Library Manager window. Choose your new jasper report library on Libraries list. Click on Add Jar/Folder button on the right side. Add JasperReport library and all dependencies library. Once it done, you will see a window like this :

    Library Manager

  • Click OK, then your IDE is ready for JasperReport development!

Have Fun!

continue to the next step

Advertisement
 

About Hans Kristanto

Last Year student. Philosophy, programming, history, photography, and catholic lovers.
6 Comments

Posted by on February 27, 2010 in English, Programming

 

Tags: , , , , , , , ,

6 Responses to New to JasperReport : Make it one for all and all for one

  1. Edward

    June 1, 2010 at 12:55 am

    Hans, itu teh kalo dependencies libraries nya yg dimasukkin .jar ato .zip jg gpp pas lg d netbeansnya ?

     
  2. Hans Kristanto

    June 1, 2010 at 7:01 am

    Edward :
    mendingan .jar ajah..tapi kalo misalnya u donlod, nanti dapet nya .jar da.. .jar ini yang u attach ke project u. :D

     
  3. Prashan

    May 7, 2011 at 10:46 pm

    Superb superb…i learnt lot from this…thank you very much

     
  4. Ashutosh sharma

    November 28, 2011 at 4:21 pm

    i want to know how embedded ireports in java desktop application in java netbean IDE and open different-2 reports on button click

     
  5. Ashutosh sharma

    November 28, 2011 at 4:23 pm

    your note r really helpful thanks

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.