JavaFX Code Structure

JavaFX is Oracles attempt at a modern UI Framework for the Java Platform. Although it is better than Swing, it is far away from what it could have been. One of many things JavaFX is missing is the testing story. JavaFX have this seemingly cool feature called FXML. With it, you can write declarative XML code and easily let the runtime map it to code. Combine that with the UI tool SceneBuilder you have a convenient way to create complex interfaces.

Database Semaphors

The Challenge How to run EJB TimerService in a multi-node non-cluster JEE7 Environment? Using the EJB Timer Service is a convenient way to produce scheduled tasks. Either through the explicit api or using the automatic timers with the annotation api. If the environment was clustered, the EJB implementation might guarantee a single execution of the timeout methods. Clustering introduces other challenges though, and it really is depending on which Application server is used.

Binding to Bean Validations

Currently I am working on a JavaFX Application. As it goes with most UI applications there needs to be input validation. Doing that on the server is a solved problem with the Bean Validation api. It is easy to use and well integrated in the JEE technology stack. It is not the same story in the user interface! In most cases you want to connect the error with a specific interface element.