This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to change the standalone to webapplication

 
mohan cheepu
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i have swing based on project . i want change standalone to webapplication.
project have many java file.please give me advice for me.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's tough. I believe there are commercial tools available that help in this, but they don't (and probably can't) do a perfect job - lots of manual rework is required.

The easiest way to put the app on the web is probably to change it from a standalone application to an applet or a Java Web Start application. Or does it have to be a proper web app based on HTML?
[ June 03, 2008: Message edited by: Ulf Dittmer ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In theory, JavaFX can use Swing classes to create online applications. This is new stuff but has a lot of potential.

Bill
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

But the resulting application is -conceptually- still an applet or JWS app, not what is commonly called a web app, no? It would still need the client-side JVM.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, yes, JavaFX does require a JVM on the client side, but according to this FAQ, a JavaFX script will be able to run standalone or in a browser environment.

I have not actually tried this, but it is certainly being pushed heavily by Sun.

Bill
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic