Skip to main content

RIA using JavaFX

6 replies [Last post]
robitech
Offline
Joined: 2008-03-10
Points: 0

I am looking to develop RIA using JavaFX.

Here are my doubts:
1) Does JWS support offline environment (without interenet access)
- Meaning I can start the application even in disconnection enviroment
2) Can JWS support for local database features? How to achieve that?
eg. SQL Lite DB

Thank you in advance :)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pforhan
Offline
Joined: 2003-08-07
Points: 0

Yes, Java Web Start applications can operate in an offline mode, disconnected from the web server that originally served them. And Java Web Start applications can be full java applications, in that you can download one or more jar files with any functionality. If you sign all the jars, they can even ask to have full access to the local system, creating files, etc. For a local SQL DB, try HSQL or Apache Derby.

None of that has anything to do with JavaFX, FWIW. You need only to include the JFX libraries in the list of web started JARs, and you are ready to go.

Pat.

robitech
Offline
Joined: 2008-03-10
Points: 0

From wat i already known, JavaFX able to build RIA application with the support of JWS service. So, can i achieve the mentioned with JavaFX?

tball
Offline
Joined: 2003-06-10
Points: 0

Download a compiler build from http://openjfx.java.sun.com, which has a couple of demos (StudioMoto, javafxballs, etc.) which show how JWS is implemented. The short answer is that compiled JavaFX Script applications are just regular JVM apps, so the same steps you would follow for a Java app work with compiled JavaFX Script.

robitech
Offline
Joined: 2008-03-10
Points: 0

Thanks for your information :)

Can JWS achieve "Portability", in the sense that I can store JWS application into usb drive bundles with local db? so that i can travel with my usb drive and only sync to master db when it's internet connected.

tball
Offline
Joined: 2003-06-10
Points: 0

I'm not a JWS expert (my focus is on developer tools), but my limited understanding is that you should be able to do this with a signed JWS application since it will want to write to the filesystem it is installed on. Get a Java version of this (with a minimal test UI) working, and the same design will work with JavaFX Script since both languages compile to Java platform classfiles.

robitech
Offline
Joined: 2008-03-10
Points: 0

Thanks for all the guidedance :)

The journey with JWS now begin..