Barcode4J examples
The directory examples/ in the distribution contains some example files that show what Barcode4J can do.
Example PDF
The directory examples/xsl-fo/ contains an XML file with barcode instructions (barcodes.xml) and an associated stylesheet (barcodes2xsl-fo.xsl) that converts the XML file to XSL-FO.
The resulting PDF generated by Apache FOP: view (around 102KB)
Example Web Application
The directory examples/webapp/ contains an sample web application that provides an interactive demo for barcode generation with the Barcode Servlet. It is written using JSP. The build generates the web application by default. To play with it just drop the build/barcode4j.war file in your favourite web container.
Preview of all supported barcode symbologies
by Jeremias Märki