| Author |
Stand alone to web
|
adeeb alexander
Ranch Hand
Joined: May 29, 2008
Posts: 267
|
|
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: 8439
|
|
Way I look at things, you got two options which will mean minimal code changes.
1) Java Web Start
2) Applets
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
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
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?
|
[My Blog] [ Follow @Twitter] | Innovations never goes out of Style...
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
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.
|
 |
 |
|
|
subject: Stand alone to web
|
|
|