简体   繁体   English

在运行时对第三方的依赖?

[英]Dependency on 3rd party at runtime?

We have created an applet with javafx and it seems that in order to load the applet several jar, jnlp and js files are required to be downloaded from dl.javafx.com . 我们已经使用javafx创建了一个applet,看来为了加载该applet,需要从dl.javafx.com下载几个jar,jnlp和js文件。 I tried to work out which files were needed so I could host them on our own server but after spending an hour or so on it I got tired of reading code and gave up. 我试图确定需要哪些文件,以便可以将它们托管在我们自己的服务器上,但是花了一个小时左右的时间,我已经厌倦了阅读代码并放弃了。 Doesn't it seem bizarre that to use javafx the client has a dependency on the javafx server? 使用javafx客户端对javafx服务器具有依赖性似乎不是很奇怪吗? There was an instance a few months ago where their server was down which is completely unacceptable. 几个月前,有一个实例导致服务器停机,这是完全不能接受的。 I feel like scrapping it and starting again in something else but I can't throw a years work away. 我想把它报废,然后重新开始其他事情,但是我不能丢掉几年的工作。

What are everyone else's views? 其他人有什么看法? Have you experienced/solved this? 您是否经历/解决了这个问题? Any suggestions where I should go from here will be gratefully accepted. 我应该从这里提出的任何建议将不胜感激。

This issue has come up a few times and it is one of the main gripes people have with JavaFX. 这个问题已经出现了好几次了,它是人们对JavaFX的主要困扰之一。 There is a dependency on the runtime, however I believe it is technically possible to distribute an app "offline" (though I've never tried it). 依赖于运行时,但是我认为从技术上讲可以“离线”分发应用程序(尽管我从未尝试过)。 See here and here . 看到这里这里

I am not sure whether or not it is a breach of the license to distribute offline. 我不确定是否违反离线分发许可证。

I have sympathy with your frustration, but I would argue that it would not be worth scrapping a year's work. 我对您的无奈表示同情,但我认为这不值得废除一年的工作。 I imagine the uptime of the Oracle servers would be no worse than any outage that could be expected of any web application. 我认为Oracle服务器的正常运行时间不会比任何Web应用程序所预期的停机都更糟糕。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM