views:

125

answers:

4

Is it possible to develop an application easily available on the web that also can be distributed on DVD (installer or started from the dvd)?

For the moment, we use static html (frameset!) pages (generated by xml files), with one difference: pdf's are only on the DVD version, the web version only shows a preview of these files.

Can this be done with JavaFX, OpenLaszlo or are there better options? (for example: turbogears, and using tg2exe for DVD version)

A: 

I think if you design it correctly to begin with, a JavaFX app can be interchanged between web-app and desktop-app relatively easily. However, I've only done this with very simple apps (specifically, Tic-Tac-Toe!), so I'm sure there might exist some caveats that I am unaware of (thus the "design it correctly" catch-all). ;)

Why don't you just provide the PDFs in your current web version, rather than redeveloping everything? I'm not aware of any browsers that don't support in-browser PDF reading anymore.

Ross
A: 

Yes JavaFX or Flash applications can be used to develop applications that run in different contexts.

However, it's not clear from your question why these would be preferable over your current solution.

If the information your sharing is primarily text and you're using DVD because your audience is primarily located in area with bad Internet connectivity, then you're current approach probably makes more sense. JavaFX or Flash might be more fun to write for developers but maybe doesn't serve your audience.

I would suggest that if you are shipping DVD and are looking for ways to make the DVD more useful than as a PDF delivery system would be to add video to the DVDs. And then maybe it would make more sense to use JavaFX or Flash to drive the UI.

Mark Wilcox
A: 

Yes, it is possible. If you use JavaFX you will be allowed use multiple deployments. For example, NetBeans 6.7.1 with JavaFX creates several possible deployments from one project. Then you can publish this application on web, DVD, etc. You will need to slightly customize standalone deployment for DVD to be able e.g. start it as autorun if necessary. JavaFX is good choice.

Rastislav Komara
A: 

This seems like a job for flex, however I know better little about it to give a better answer.

Jorge Vargas