The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Converting Java Swing App to Webapp

Anyone know of a good way to go about converting a Java Swing desktop application to a webapp (aside from using an Applet)?

The desktop app I have is pretty intricate, even uses an embedded web browser.
Dan
Friday, October 31, 2008
 
 
Sorry Dan, there is no easy way to do this. Converting a desktop app to client-server web app requires a complete redesign of the software, including user interface, workflow, and functionality.
Steve McLeod Send private email
Friday, October 31, 2008
 
 
To add to that you may want to look into GWT it cross compiles java to javascript.  You won't be able to completely reuse your code or anything but you will be able to leverage your current programming skill.
Brian
Saturday, November 01, 2008
 
 
IF you had separation of concerns in you Swing app, then you could choose to use Servlets and JSP to do the web app with or pick one of the million frameworks out there based on the web side of J2EE.

Then you should have business logic encapsulated in it's own classes, not tied to the GUI, or at least be able to pull out the critical pieces of the business logic from your original code.

Then you just need to write the UI layer.

You say it had a built in web-browser.  What on earth was this app doing?  If it was using HTML as a gui, then that should make "porting" it even easier.
DidIt
Monday, November 17, 2008
 
 
Hey guys,
We use this great software called ULC by Canoo Engineering. It implements a half object model that allows server side development without the hassle of JSP, descriptors, etc. It's API is very close to swing. It would require rework of your swing aplication, but far less than using an MVC.
B-ray
Wednesday, November 19, 2008
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz