This post introduces FXContainer 1.0 - an IoC container written in JavaFX and specifically meant to be used in JavaFX applications for providing Dependency Injection (DI). It addresses all JavaFX specific nuances and makes DI feel natural with JavaFX. It is powerful, feature rich and has a footprint < 75K. JavaFX development is fun again!
How to do Test Driven Development (TDD) with JavaFX using Model-View-Presenter pattern? In this installment of Effective JavaFX Architecture, I address this question with all the details and working code samples.
Effective JavaFX architecture is not an easy task. Designing testable JavaFX applications that are beautiful inside-out requires serious thought and some experience. Or you could read this blog series :-)
Bean validation is a nice API for for validating Java objects and is included in Java EE 6. But it can also be used anywhere, with or without JPA, in a stand alone Java SE and even Java FX. Think out of the box and start using Bean Validation with JavaFX today
In the previous installment of Effective Architecture, I covered TDD with Model-View-Presenter. However the code I presented had synchronous server calls. In JavaFX (like Swing), the UI code runs in the Event Dispatch Thread (EDT). It is unwise to block the EDT. Hence it is encouraged to execute all server calls on a separate thread.
Swing provides SwingWorker to execute tasks off the...