Java Web Start 的注意事项?
我们正在考虑使用 java web start 作为我们的客户端服务器策略。您对这项技术有什么经验?你喜欢它什么,不喜欢它什么?
We are considering using java web start as our client server strategy. What is your experience with this technique? What do you like and dislike about it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我尝试使用 Java Web Start 作为我的包的部署机制。我很难让它发挥作用。经过大约两周的努力,我放弃了它,转而使用
install4j
,我对此很满意。I tried Java Web Start as the deployment mechanism for my package. I had considerable difficulty getting it to work poorly. After about two weeks of effort, I abandoned it in favor of
install4j
, with which I've been happy.到目前为止,我在 JWS 上的经验还不是很丰富,但我可以注意到,如果您的软件依赖于平台相关的库和/或考虑动态地将参数传递给应用程序,那么它可能不会像人们希望的那样直接。 (至少我现在面临的情况是这样)
如果我处于你的处境,我真的会花时间权衡各种选择,了解 JWS 的优点和缺点。毕竟,使用 JWS 时,并非您想要/需要的一切都能实现。
这是开始阅读的好地方:
http://download.oracle.com/javase /6/docs/technotes/guides/javaws/developersguide/contents.html
另外,Sun 的 Java 教程中有许多关于 JNLP 语法和示例代码的好资源,这里是关于 部署。
My experience on JWS is not very extensive so far, but I could note that if your software depends on libraries that are platform dependent and/or have thoughts of dynamically passing arguments to the application, it might not be as straight forward as one would hope. (that's the situation I'm in at least)
If I were in your shoes I would really take my time and weigh the options, read into the strengths and weaknesses of JWS. After all not everything you want/need might be possible when using JWS.
Here's a good place to start reading:
http://download.oracle.com/javase/6/docs/technotes/guides/javaws/developersguide/contents.html
Otherwise there are a number of good resources available on JNLP syntax and example code at Sun's Java tutorials, here's the article on Deployment.