We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我感受到你的痛苦,我对 JWS 遇到的最大问题是可见性,即它在做什么以及为什么这样做。我们的大多数问题都与内部代理有关(Java 似乎真的不喜欢验证代理),并且目前问题似乎已得到解决。尽管如此,我确实考虑过简单地写一个替代品。这并不像听起来那么疯狂,JWS 做了很多我并不真正关心的事情,即与 Web 浏览器集成并检查 JVM 版本。考虑以下场景:
与常规 JNLP 相比,这应该提供一些非常显着的优势:
可悲的是,我不能因为上述的工作版本而解雇你,我确实启动了一个原型,但暂停了它。在这种情况下,我可能需要在将来返回它,我很乐意分享完成的版本。
干杯,
菲尔
I feel your pain, the biggest issue I've had with JWS is visibility, that is, what is it doing and why is it doing it. Most of our issues were related to internal proxies (Java seems to really not like authenticating proxies) and the wrinkles seem to be ironed out for the moment. Nevertheless, I did consider simply writing a replacement. This is not as crazy as it sounds, JWS does an awful lot of stuff that I don't really care about, namely, integrating with the web browser and checking JVM versions. Consider the following scenario:
This should provide some very significant advantages over regular JNLP:
Sadly, I'm not in a position to fire you over a working version of the above, I did start a prototype but suspended it. I may have to return to it in future in which case, I'll be happy to share the finished version.
Cheers,
Phil
目前,我们使用 GetDown 来处理 Swing 应用程序的分发。我们使用 Tomcat 分发更新,并使用 GetDown 下载这些更新。它非常灵活且功能强大,比 java WebStart 好得多,并且因为它为更改生成校验和,所以可以节省带宽并下载刚刚更改的文件。
一个很好的教程: http://www.hascode.com/2012/05/creating-updatable-java-applications-using-getdown-and-the-getdown-maven-plugin/
Currently we are using GetDown to handle distribution of our swing applications. We use Tomcat to distribute updates and GetDown to download those updates. It's really flexible and powerful, and much better than java WebStart and because it produces check sum for changes it saves bandwith and downloads just changed files.
A good tutorial : http://www.hascode.com/2012/05/creating-updatable-java-applications-using-getdown-and-the-getdown-maven-plugin/
您可以使用安装程序:例如 Install4j。
您可以在此处找到安装程序列表:安装 Java EE 应用程序有哪些好的 InstallAnywhere 替代品?
You could use an installer: for example Install4j.
You can find a list of installers here: What are good InstallAnywhere replacements for installing a Java EE application?
随着 Java Web Start 被 Oracle 弃用,我们正在考虑使用 Microsoft 的 .NET Click Once 下载并启动我们的 Java 应用程序。
我们将有一个Click Once .application 文件运行一个小的MS 程序来检测Java,下载我们最新的jar 文件,然后使用检测到的Java 版本和Jar 文件启动我们的Java 程序。
当然,这只是针对 Windows 计算机的解决方案,但我们是专门使用 Windows 的客户,因此这适用于该环境。
MS 的 Click Once:https://learn.microsoft。 com/en-us/visualstudio/deployment/clickonce-security-and-deployment
With Java Web Start being deprecated by Oracle, we are considering using Microsoft's .NET Click Once to download and launch our Java application.
We will have a Click Once .application file run a little MS program that detects Java, downloads our latest jar files and then launches our Java program using the detected version of Java and the Jar files.
Of course, this is only a solution for Windows machines, but we are customers are exclusively on Windows, so this works in that environment.
MS's Click Once: https://learn.microsoft.com/en-us/visualstudio/deployment/clickonce-security-and-deployment
您也可以尝试零安装。它是跨平台的(Linux、Win、Mac),提供 jrd 下载和自动更新,并且具有良好的系统集成。
在我看来,它的缺点是不容易处理。
http://0install.net/
You could also give Zero Install a try. It's cross platform (Linux, Win, Mac), offers jrd download and auto update and has a nice system integration.
Drawback in my eyes that its not easy to handle..
http://0install.net/