Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to change the standalone to webapplication

 
mohan cheepu
Ranch Hand
Posts: 49
  • 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: 42967
73
  • 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: 13056
6
  • 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: 42967
73
  • 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: 13056
6
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic