Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Script compile process - making dynamic

Paul Kelcey
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Anyone care to comment?


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic