java web start 替代方案 [英] java web start alternative

查看:51
本文介绍了java web start 替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在寻找一种替代 Java web start 的方法,它可以有效地做同样的事情,只是实现得更好.我们遇到了很大的麻烦.我们有几个 XP 桌面办公室,都略有不同,到目前为止,只有少数几个办公室没有经过认真的调整就可以工作.问题在于不能很好地使用代理设置(在 Java 控制面板中使用直接连接允许它工作),在设置了-Xmx"之类的参数时拒绝运行,但在未设置时运行良好(直到它运行)内存不足)和其他我们无法解决的奇怪问题.

We're looking for an alternative to Java web start that effectively does the same thing, just better implemented. We're having massive trouble with it. We have a few offices of XP desktops, all slightly different and so far only a handful have worked without serious tweaking. Problems are to do with not playing nicely with the proxy settings (using direct connection in Java control panel allows it to work), refusing to run when params like "-Xmx" are set but running fine when they aren't (until it runs out of memory) and other odd problems that we can't fix.

web start 的工作方式正是我们想要的,即连接到具有该应用程序的服务器、下载任何更改的内容、保留 jar 缓存等.这里的其他团队为他们的 C# 应用程序使用clickonce",它有效地做同样的事情,但似乎没有那么麻烦.

The way web start works is exactly what we want, i.e. connecting to a server that has the app, downloading anything that's changed, keeping a cache of jars, etc. Other teams here use 'clickonce' for their C# apps and it does effectively the same thing but seems to be less trouble.

我相信我们并不是唯一遇到这种情况的人,但四处寻找并没有真正找到任何替代方案.我们已经考虑编写一个存根本地应用程序,它本质上只是一个 URLClassLoader,它可以通过网络动态加载我们的应用程序,但不幸的是,从其他办公室下载它太慢了.有人有什么想法吗?

I'm convinced we're not the only people to have run into this but searching around doesn't really show any alternatives. We've looked into writing a stub local application that is essentially just a URLClassLoader that loads up our app over the network on the fly but unfortunately that's too slow from other offices. Anyone have any ideas?

谢谢

更新

如果有人对最终发生的事情感到好奇,我们又给了 webstart 一个月左右的时间,但继续遇到问题,因此我们实现了自己的版本.它基本上只是一个存根,它有一个指向网络服务器的 URL 类加载器.它是 <200 行代码,它已经完美运行了几个月.这并不理想,但在有人改进 webstart 之前,我们会坚持下去.

In case anyone is curious as to what eventually happened, we gave webstart another month or so but continued to run into problems so we implemented our own version. It's basically just a stub that has a URL class loader that you point at a webserver. It's < 200 lines of code and it has been working perfectly for months. It's not ideal but until someone improves webstart we'll stick with it.

2018 年更新

所以,几年后,我正在处理一个遇到同样问题的新项目.这次我们没有编写我们自己的 webstart 实现,而是使用 getdown.我们发现它比 web start 有了很大的改进,并且对我们来说效果很好.

So, several years later and I'm working on a new project with the same problem. Instead of writing our own webstart implementation this time we're using getdown. We've found it to be a vast improvement over web start and it's been working really well for us.

推荐答案

我的公司也遇到了 webstart 的痛苦,尤其是 JRE 1.6 更新 19 和 20.我们的问题围绕着混合代码安全警告.(一切都正确签名,问题是间歇性的)

My company is also experiencing webstart pain especially with JRE 1.6 update 19 and 20. Our problems revolve around the Mixed Code security warning. (everything is properly signed and the problem is intermittent)

Anyhoo,我被三环绊倒了.我还没有尝试过,但看起来很有希望 https://github.com/threerings/getdown/wiki

Anyhoo, I stumbled across getdown by threerings. I haven't tried it yet, but seems promising https://github.com/threerings/getdown/wiki

这篇关于java web start 替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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