Web 应用程序和智能卡交互
几周前,我试图问类似的问题,但措辞不正确,所以我再试一次。我仍然认为我想要的东西是不可能的,但无论如何我还是要问。
给定一个在“远程”服务器(即可以在世界任何地方)上运行的 Web 应用程序,该 Web 应用程序能否与连接到用户工作站的 Java 卡上的小程序进行通信?或者单独表述,可以说远程 webapp 发出 ADPU 命令(例如,通过安装在用户工作站上的中间件)。
A few weeks ago, I tried to ask a similar question, but phrased it incorrectly, so I'm trying again. I still don't think what I want is possible, but I'm asking anyhow.
Given a web application running on a "remote" server (i.e. can be anywhere in the world), can that webapp communicate with applets on a Java Card connected to a user's workstation? Or phrased separately, can said remote webapp issue ADPU commands (say, through the middleware installed on the user's workstation).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在小程序上编写一个TimedTask(线程)来定时将您想要的数据从客户端传输(提交)到服务器。
查看 Apache HTTP 客户端。这将使您能够以与浏览器相同的方式向服务器发送请求。
You can write a TimedTask (Thread) on the applet to transfer(submit) the data you want from the client machine to the server on a timed basis.
Have a look at the Apache HTTP Client. This will enable you to send requests to your server in the same manner a browser does.
你好
我有同样的场景,我创建了jApplet并将其嵌入到jsp中,所有通信功能都在jApplet中,它可以与SmartCard交互,交互后可以将结果发送到服务器!
Hi
i had same scenario , which i have created the jApplet and embedded it in jsp, all the functionality of communicating is in the jApplet, which could Interact with SmartCard , after Interaction that could send the result to server !