Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Questions for Sun over JavaFX

DZone's Guide to

Questions for Sun over JavaFX

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

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?

 

 

 

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}