从 WebApp 与本地 PC 交互 [英] Interact with Local PC from WebApp

查看:28
本文介绍了从 WebApp 与本地 PC 交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发企业内部网应用程序.部分要求是让应用程序在用户本地 PC (Minitab) 上启动一个程序,然后让 web 应用程序通过它的 COM 接口与其通信.

I'm currently working on a corporate intranet application. Part of the requirements are to have the application start a program on the users local PC (Minitab) and then have the webapp communicate with it via it's COM interface.

做这样的事情我有哪些选择?

What are my options for doing something like this?

  1. 一个已签名的 Java 小程序和 Jacob
  2. ActiveX 和 .NET(这只会在 IE 中工作,对吗?)
  3. 闪光?(能够flash 被授予权限本地电脑?)
  4. 银光???

我倾向于尝试 Java 方法(所有用户都将安装 Java 和 Flash),但我想知道阻力最小的路径是什么.

I'm leaning towards trying the java approach (all users will have Java and flash installed) but am wondering what's the path of least resistance.

该应用程序在 Gentoo Linux 上从 Apache2/Python/modwsgi 运行.所有用户将使用 Firefox 或 IE6/7/8 运行 WinXP 或 Win7.

The application runs from Apache2/Python/modwsgi on Gentoo Linux. All users will be running WinXP or Win7 with Firefox or IE6/7/8.

谢谢.

推荐答案

Flash 和 Silverlight 不适合此要求.

Flash and Silverlight are non-starters for this requirement.

ActiveX 可以工作,但您是对的,这是 IE 唯一的解决方案.如果 Firefox 支持很重要,那么您要么需要同时使用 ActiveX 和 Firefox 扩展,要么也没有竞争.

ActiveX will work but you are correct this is an IE only solution. If Firefox support is important then either you need to do both an ActiveX as well as a Firefox extension, or its also out of contention.

这样就剩下 Java 小程序了.如果可以授予 Java 小程序正确的访问权限以启动另一个应用程序,并且可以使用管道在它们之间进行通信,那么就是这样.当然,这听起来像是您应该进行的第一行调查.

So that leaves the Java applet. If its possible to grant a Java applet the correct access to to start up another application and there is conduit you can use to communicate between them then thats it. Certainly it sounds like its the first line of enquiry you should persue.

这篇关于从 WebApp 与本地 PC 交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆