在浏览器中呈现 Java 应用程序(未安装 Java)
我正在研究在浏览器中部署现有 Java Swing 应用程序的可能方法,以便客户端不需要安装 Java 运行时(并“插入”浏览器)。
包括 UI 的应用程序需要在服务器上运行,但 GUI 应该“以某种方式”在普通浏览器(当然支持 JavaScript)中呈现。性能和可扩展性在这里不再是问题...
挑战在于对原始 Swing 应用程序进行最小的更改或包装。
我知道 Eclipse RAP 允许类似的操作,并且使用 SWT_AWT 桥接器应该可以将 Swing UI 嵌入到 SWT 包装器中并将其呈现在浏览器上。
我想知道是否还有其他替代方案或方法?
干杯, 迈克尔
I am researching possible ways to deploy an existing Java Swing application in a browser such that the client would not need to have a Java runtime installed (and "plugged into" the browser).
The application including the UI would need to run on a server, but the GUI should then "somehow" be rendered in a plain vanilla (of course JavaScript-enabled) browser. Performance and scalability are for once not an issue here...
The challenge is to get away with minimal changes or wrappers of the original Swing application.
I am aware of Eclipse RAP that allows something like that and using the SWT_AWT bridge it should then be possible to embed the Swing UI inside an SWT wrapper and render that on a browser.
I wonder, whether there are any other alternatives or approaches that come to mind?
Cheers,
Michael
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AjaxSwing(以前称为 WebCream)似乎承诺做到这一点。然而我自己没有使用它的经验。
略有相关,但可能没有直接帮助:有人做了 同样的事情GTK 3 UI 工具包。
AjaxSwing (formerly known as WebCream)seems to promise to do exactly that. I have no experience using it myself however.
Slightly related, but probably no direct help: someone has done the same to the GTK 3 UI Toolkit.