开发者

Qr code generation on the server in java gwt

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 wil开发者_如何学Cl come with the request from mobile phone.

Tnx


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜