This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I played around with earlier versions of JavaFX and I found it useful for rapid development (compared to Swing/Java 2D programming anyway). But, it was standard mechanism of write 'code', compile and then deploy.
Is it possible to have the script interpreted at runtime? For example, what if I wanted to use JavaFX script to render user-interfaces dynamically. In other words, what if I wanted to generate the JavaFX script server side and then have it rendered dynamically at runtime.
I'll provide a tangible example for clarity.
Say I had an applet that had no U.I. on it's own but it used some of the JavaFX libraries typically used during compile time to create the byte code. The applet could dynamically download the JavaFX script from a JSP say and then compile it on the fly and then add it to the content pane of the applet. If so, this is truly a replacement for AJAX since I can not only dynamically generate the server-side content (i.e. data source) that is used to populate a user-interface but I can also dynamically generate the UI template to begin with.