Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qr code generation on the server in java gwt

Tags:

java

qr-code

I need to develop web app that will return qr code(or link to qr code) to mobile clients. I plan to learn the basics of GWT because i alredy know java programming. Is it possible to use zxing libraries or some other java libraries with GWT, so generating (encoding) QR codes could be done with a few lines of code? Or do you suggest any other option?

The QR code that will be returned by server will depend on ID that will come with the request from mobile phone.

Tnx

like image 209
DixieFlatline Avatar asked Jul 23 '26 06:07

DixieFlatline


1 Answers

Generating the QR code in-server using a library such as zxing is a pretty obvious way to go about this an could be absolutely appropriate for your application.

But you might also consider off-loading this to an external web-service such as Google Charts. See here. The advantage of this approach, if it works for you, is that you free your service resources and bandwidth from the responsibility so it would likely scale better and be less complex to develop.

The caveat is, of course, is that your application would have to satisfy the provider's terms of use

like image 181
bjg Avatar answered Jul 24 '26 18:07

bjg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!