3

I have a RoR web app that I would like to add some functionality to. I want this app to be able to communicate with POS devices (cash drawer, printer). I believe the best way to accomplish this would be to embed a signed Java Applet. My plan is to add a bit of javascript that will send signals to the applet telling it when to print, open the cash drawer, etc. The Java Applet will use the JavaPOS standards.

Questions:

1) Does this sound like a reasonable way to handle my situation?

2) Are there any applets like this available (whether opensource or commercially) that I could plug in? Or am I better off just writing the applet myself?

4

1 回答 1

2

1) 当然:)

2) 可能取决于您所针对的 POS,它是否支持 JavaPOS 标准,是否有自己的 API 等...

于 2011-02-20T22:12:21.627 回答