JavaFX 2 和 RCP

发布于 2024-12-17 19:39:50 字数 313 浏览 2 评论 0原文

我现在正在学习JavaFX 2。我只是想知道我可以将 JavaFX 2 用作网络应用程序 **常规应用程序吗?也就是说,作为管理员,我可以在本地计算机上安装 JavaFX 2 应用程序,并将其用作常规应用程序来连接到服务器以进行数据访问,同时我的其他客户将通过浏览器获取 JavaFX 2 用户界面。通过这种方式,我只需要开发一个应用程序。我的 JavaFX 2 用户界面无需特殊设置即可与本地文件交互,因为它是本地安装的。

这听起来对吗?

I am learning JavaFX 2 now. I am just wondering can I use JavaFX 2 as a web application *AND* a regular application? That is as an admin, i can install the JavaFX 2 application on my local machine and use it as regular application to connect to the server for data access, and in the meantime my other customers will get the JavaFX 2 user interface via browser. By doing this way I only need to develop ONE application. My JavaFX 2 user interface can interact with my local files without special setup because it is installed locally.

does this sound right?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

余生再见 2024-12-24 19:39:50

是的,你可以而且应该。

每个 JavaFX 应用程序都可以打包并作为 jnlp 或浏览器插件 Web 应用程序运行。

如果您安装支持 JavaFX 的 NetBeans 7.1 beta,请在其中创建一个 JavaFX 项目并运行 Build,然后 Netbeans 将为您生成 jar 文件、jnlp 文件和 html 文件以显示所有 3 个部署选项。

您可以在此处找到更多详细信息: http://docs.oracle.com/ javafx/2.0/deployment/deploy_overview.htm#CEGHEAHD

Yes, you can and you should.

Every JavaFX application can be packed and run as jnlp or browser plugin web application.

If you install NetBeans 7.1 beta with JavaFX support, create a JavaFX project there and run Build then Netbeans will generate for you jar file, jnlp file and html file to show all 3 deployment options.

You can find more details here: http://docs.oracle.com/javafx/2.0/deployment/deploy_overview.htm#CEGHEAHD

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文