 How to Get Barcode Data from Database and Generate Barcode Images in BIRT Reports?
BarcodeLib.com is the FIRST Commercial Provider of Java Barcode Library that supports Eclipse BIRT. Prerequisites 
We are using BIRT 2.2.2 to test our Barcode for Java library. If developer find any problem with previous version of BIRT, please send email to support@barcodelib.com.
How to Get Barcode Data from Database and Generate Barcode Images in BIRT Reports? 
Let's say you want to display customers information (customer name, customer id) on the report. All the data stored in one table named "Customers", there are two columns inside: CUSTOMERNAME (string), CUSTOMERNUMBER (int). And you want to display CustomerId data in Code 39.
- Install Java barcode web application to your Java Servlet container like Tomcat, JBoss.
- Under demo package, copy barcode folder to your java servlet container like tomcat.
- To test your installation, go to: http://YourDomain:Port/barcode/linear?Data=123456789&Type=CODE39
- To create barcode image in your JSP or html page, you can pass the url to IMG tag src value.
For example, <img src="http://YourDomain:Port/barcode/linear?Data=123456789&Type=CODE39" />
- Create a new report, setup your data source and data set, and add "Table" report item to your report.
- Drag column "CUSTOMERNAME" to your first column of table details section, and drag an "Image" report item to your second column.
- On Edit Image Item, in Select Image from, select URI.

- Under Enter URI, choose the expression builder button.
In the expression builder, keyin:
"http://localhost:8088/barcode/linear?Data=" + row["CUSTOMERNUMBER"] + "&Type=CODE39"

- Click all "ok" buttons, ignore the warning message. You will see the report as:

- Go to "Preview".

|