Questions for Sun over JavaFX
Join the DZone community and get the full member experience.
Join For FreeSun 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?
JavaFX
Opinions expressed by DZone contributors are their own.
Comments