At Gluon we’ve open-sourced the framework called Ignite just for this purpose.

With this library, developers can use popular dependency injection frameworks 
in their JavaFX applications, including inside their FXML controllers. Gluon 
Ignite creates a common abstraction over several popular dependency injection 
frameworks (currently Guice, Spring, and Dagger). Full support of JSR-330 makes 
using dependency injection in JavaFX applications trivial.

For more information take a look at our blog at
 http://gluonhq.com/announcing-gluon-ignite-easy-javafx-dependency-injection/

Eugene


Reply via email to