Re:Oracle deprecating Java applets in Java 9
by anta40 on Wednesday January 27, 2016 @09:28PM
(#10985684)
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...
[ Parent
| on HN ]
Re:Oracle deprecating Java applets in Java 9
by Sindisil on Wednesday January 27, 2016 @11:26PM
(#10986273)
One option would be a Java WebStart application. You could reuse virtually all of your code.
Re:Oracle deprecating Java applets in Java 9
by jordanthoms on Wednesday January 27, 2016 @10:00PM
(#10985849)
If you can have your users install a chrome extension, you can use the native messaging APIs: https://developer.chrome.com/extensions/nativeMessaging .
Re:Oracle deprecating Java applets in Java 9
by mhurron on Wednesday January 27, 2016 @10:12PM
(#10985902)
One 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.
Re:Oracle deprecating Java applets in Java 9
by djKianoosh on Wednesday January 27, 2016 @09:53PM
(#10985811)
havent 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 ;)
Re:Oracle deprecating Java applets in Java 9
by superuser2 on Wednesday January 27, 2016 @11:00PM
(#10986141)
Because smart cards are hardware devices on the client, and nothing in HTML, CSS, or JavaScript gives you access to the client's USB ports.
Re:Oracle deprecating Java applets in Java 9
by gred on Wednesday January 27, 2016 @11:19PM
(#10986237)
For now :-)
Re:Oracle deprecating Java applets in Java 9
by djKianoosh on Thursday January 28, 2016 @12:28AM
(#10986481)
i guess i wasnt clear. i meant java servlets, not js. something like:
http://stackoverflow.com/questions/24351472/getattributejava...
Re:Oracle deprecating Java applets in Java 9
by superuser2 on Thursday January 28, 2016 @12:36AM
(#10986507)
For some reason actual smartcard applications seem to use proprietary applets rather than the open standards around client certs.
Re:Oracle deprecating Java applets in Java 9
by anta40 on Wednesday January 27, 2016 @11:04PM
(#10986158)
The 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 :)