Deployment of Enterprise Java FX Applications - A Free Article

The free article The Enterprise Side of JavaFX: Part Three describes build and deployment of a real world JavaFX application: LighView. It is all about Maven 3, signing jars and WebStart installation.

The first part of the series is about Maven build and RESTful backends and the second about structuring the view and databinding.

Feedback is, as always, highly appreciated!

Comments:

Adam, appreciate your work. But I feel that all Oracle people has left out the important part: How to package a JavaFX application in an EAR package and let him use server side resources fetched through dependency injection? All bloggers and articles says that JavaFX is a "sure thing" as a consumer of back end services and resources. Yet the only thing ever talked about and demonstrated is a RESTful web service.

Well, I found a rather intuitive and nice solution to the problem, of which I wrote a tutorial here:

http://blog.martinandersson.com/the-enterprise-side-of-javafx-the-missing-part/

This solution will package a standard Swing based Java SE application and let him launch a JavaFX application. This way one can use dependency injection and forward thoose proxies to the JavaFX application. I'm really looking forward to a more standardized approach. Not until then shall we look upon JavaFX as a true alternative to Java SE for consumption of back end services.

Posted by Martin Andersson on June 08, 2013 at 09:37 PM CEST #

Hi adam, I follow your javafx series and user afterburner to build simple javafx app, app works fine when i run in intellij idea but when i deployed with intellij artifacts i got this jar error can you guide me with this error, thanks.
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Application start method
and also

Caused by: java.lang.NoClassDefFoundError: com/airhacks/afterburner/views/FXMLView

i am using afterburner structure in Main method

Posted by Mahdi on November 16, 2014 at 11:34 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License