简体   繁体   English

将Netbeans平台与JavaFX 2一起使用?

[英]Using Netbeans Platform with JavaFX 2?

I am building a desktop application on JavaFX 2, and want to speed up my development -- 我正在JavaFX 2上构建桌面应用程序,并希望加快开发速度-

Is RCP the way to go? RCP是要走的路吗? How steep is the learning curve? 学习曲线有多陡?

There is the eFX project which tries to adapt the NetBeans Platform for JavaFX. 有一个eFX项目试图将NetBeans平台改编为JavaFX。

From what I know about the NetBeans Platform source code, I doubt though that they managed to get rid of the Swing dependencies. 从我对NetBeans平台源代码的了解中,我怀疑它们是否设法摆脱了Swing依赖关系。 (This might be important once you want to deploy your application to a platform which doesn't support Swing. See: Compact Profiles and Project Jigsaw ). (一旦您想将应用程序部署到不支持Swing的平台上,这可能很重要。请参阅: Compact ProfilesProject Jigsaw )。

Also it uses the NetBeans Platform module system rather than OSGi (many Apache Commons libraries as well as other libraries come with OSGi meta data but not with NetBeans Platform meta data). 它还使用NetBeans Platform模块系统而不是OSGi(许多Apache Commons库以及其他库都随OSGi元数据一起提供,但不随NetBeans Platform元数据一起提供)。 There is a way to run OSGi bundle in a NetBeans Platform though, but, of course, this would mean that you have to know 2 module systems. 虽然有一种方法可以在NetBeans平台中运行OSGi捆绑软件,但是,这当然意味着您必须了解2个模块系统。

I also don't know if the NetBeans Platform Maven plugins work with eFX or if you have to use Ant. 我也不知道NetBeans Platform Maven插件是否可以与eFX一起使用,或者是否必须使用Ant。

As an alternative also note that (mainly for the concerns mentioned above) I've recently released an initial Early Access version of Drombler FX, a modular RCP for JavaFX based on OSGi and Maven (POM-first): 另外,还请注意(主要针对上述问题),我最近发布了Drombler FX的初始Early Access版本,Drombler FX是基于OSGi和Maven的JavaFX模块化RCP(POM优先):

http://puces-blog.blogspot.ch/2012/12/drombler-fx-building-modular-javafx.html http://puces-blog.blogspot.ch/2012/12/drombler-fx-building-modular-javafx.html

http://wiki.drombler.org/GettingStarted http://wiki.drombler.org/GettingStarted

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

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