4 ms·
So, how do you interact with connected hardwares, then? For example, the company I'm working on have a interal-only, web application that interact with smart ca
by anta40 11y ago
So, how do you interact with connected hardwares, then?
For example, the company I'm working on have a interal-only, web application that interact with smart card readers. This one of the cases where Java applet comes in handy...
- djKianoosh 11y agohavent looked it up in a while but isnt there a servlet based way to read smartcards? regardless, using applets to deal with smartcards seems oxymoronic ;)
- superuser2 11y agoBecause smart cards are hardware devices on the client, and nothing in HTML, CSS, or JavaScript gives you access to the client's USB ports.
- gred 11y agoFor now :-) https://wicg.github.io/webusb/ https://wicg.github.io/webusb/
- djKianoosh 11y agoi guess i wasnt clear. i meant java servlets, not js. something like: http://stackoverflow.com/questions/24351472/getattributejavax-servlet-request-x509certificate-not-set-spring-cxf-jetty http://stackoverflow.com/questions/24351472/getattributejava...
- superuser2 11y agoFor some reason actual smartcard applications seem to use proprietary applets rather than the open standards around client certs.
- anta40 11y agoThe tool is used to manage some our smart card applets. And since it web-based, we don't need to give the copy of the tool to other people. I don't write the tool, but maybe I can convince my supervisor to rewrite it into desktop app :)
- jordanthoms 11y agoIf you can have your users install a chrome extension, you can use the native messaging APIs: https://developer.chrome.com/extensions/nativeMessaging https://developer.chrome.com/extensions/nativeMessaging .
- mhurron 11y agoOne of the nice things about Java is it didn't force a specific web browser on the user. If you presented something to me that required Chrome, I would leave. I don't use Chrome and I do not wish to.
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- Sindisil 11y agoOne option would be a Java WebStart application. You could reuse virtually all of your code.
- zac1944 11y agohttp/2