Over a million developers have joined DZone.

Questions for Sun over JavaFX

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

Sun has released a JavaFX preview. Having played around with it, here are my questions.

  • Will using the scenegraph API conceivably consume less resources than a comparable app developed using DHTML? In Meebo is what’s wrong with web 2.0 (cached), Uncov writes that Meebo consumes 39Mb RAM over-and-above that of Firefox. Running a basic JavaFX app (JRE1.6u7) consumes about 33Mb “VM Size”, i.e. private process memory. Is JavaFX going to ditch flyweight rendering in Swing's JTable and switch over to Scenegraph-based tables instead?

  • Why is interpreted JavaFX script slow, when interpreted javascript is fast enough for client-side work? Web apps don’t necessarily have to compute prime numbers. Is it because browser's javascript interpreter (gasp) is more performant than the JVM?

  • Silverlight will consume markup generated from any web server. JavaFX requires a server-side compiler, or a precompiled script. Any client-side plugin ignores PHP at it’s own peril. Will Sun be shipping a JavaFX Script interpreter so that the browser can be used as a general canvas?

 

 

 

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}