aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Script compile process - making dynamic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Script compile process - making dynamic" Watch "Script compile process - making dynamic" New topic
Author

Script compile process - making dynamic

Paul Kelcey
Ranch Hand

Joined: Jan 26, 2003
Posts: 45
Hi,

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?

Regards,

PK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Script compile process - making dynamic