i have Java application in which i want to add barcode scanning option.
1. Do i need to write a separate code for different different hardware to scan barcode from java class?
2. Is there any open source project which can help me to read barcode from any or particular hardware?