Click to See Complete Forum and Search --> : Javafx server side technology


giovanni.85
08-23-2010, 12:08 PM
Hi guys

I am new to Javafx and I have some doubts.

I understood that Javafx is a development platform and it is possible to write programs using Java APi and javafx api.

On the web Javafx is compared to Flex builder and Silverlight.

What server side technology can I use with Javafx? with flex I can use PHP, ruby on rails ect., what about with Javafx?

Thanx!

criterion9
08-23-2010, 03:17 PM
You can mix and match however you want. You can use JavaFX as solely a GUI thing (like Flash, Silverlight) or you can use it more like a full application by incorporating some of the SE or EE APIs on the backend. Does that answer your question a little better?

sohguanh
08-24-2010, 12:52 AM
You can mix and match however you want. You can use JavaFX as solely a GUI thing (like Flash, Silverlight) or you can use it more like a full application by incorporating some of the SE or EE APIs on the backend. Does that answer your question a little better?

JavaFX sorta make a drastic change to the way one want to build GUI using the Java ME/Swing API for non-Web based clients. Instead of coding Java classes and their methods, one "declare" the UI using a declarative language syntax.

My personal experience is JavaFX is not exactly ready for mobile development. In terms of API maturity, I will still give Android SDK thumbs up.

giovanni.85
08-25-2010, 06:31 AM
my doubt is how I can connect the javafx application to a server in order to retrieve data from a database for example?

I d like to do a comparison for a project at uni, comparing flex silverlight and javafx.

I used flex, with PHP for the server side. I know silverlight is kinda similar but I was wondering what server side technology I can use with javafx.

Just java?or is it possible to use ruby on rails for example? is it also possible to use spring framework?

the info on the web are not always that clear...

criterion9
08-25-2010, 06:34 AM
You can connect to any backend of your choice depending on how you build the applet/application/etc using JavaFX. In that respect JavaFX is really no different from Flash or Silverlight. The biggest difference is the ability to use JavaFX "on top" of any Java based stack so you could use it in an applet (like flash or silverlight) or use it in an application (like flex) etc. Does that make more sense?

giovanni.85
08-25-2010, 06:57 AM
thanks criterion9..

so in order to develop a web application with javafx I can program using any Java library I like, adding javafx scripts for effects and so on.

I can then connect the application to the server in the same way I do in flex, which means I can use Rails, Zend, Spring and so on.

If it is like this, I think I got the point!

criterion9
08-25-2010, 07:15 AM
That is my understanding of how the JavaFX stack works, yes.