Java implementations of barcode reader in ABBYY Cloud OCR SDK is very simple and takes only few lines of code.
ocrsdk.com