aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Stand alone to web Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Stand alone to web" Watch "Stand alone to web" New topic
Author

Stand alone to web

adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
Hi all.
I have developed a stand alone application using swing for a college. Now that college has two branches, i need to use the application on web. Please suggest me. Can i give the ip address in the driver URL, or any other way.




Thanks and Regards.
Alex
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Way I look at things, you got two options which will mean minimal code changes.
1) Java Web Start
2) Applets

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19722
    
  20

Anything other requires a completely new technique like JSF or GWT, and therefore would require an almost full rewrite of all user interface related code.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Rob Prime wrote:Anything other requires a completely new technique like JSF or GWT, and therefore would require an almost full rewrite of all user interface related code.


Which is one of the best arguments available for striving to separate UI from logic!
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

hi,
am not sure of this,
run your app using mysql or any other database. get IP of the machine in which database is running.
set or edit IP, Username,password in GUI app and run application in your two branches.
all data will be stored in centralized database...

are you getting?

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Piyush Patel wrote:hi,
am not sure of this,
run your app using mysql or any other database. get IP of the machine in which database is running.
set or edit IP, Username,password in GUI app and run application in your two branches.
all data will be stored in centralized database...

are you getting?



This is an over simplification. There is a lot to consider when going this route the least of which not being updates to the application. I'd recommend JWS over this approach and Applets.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stand alone to web