A RESTful Barcode service in JAVA