This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

Stand alone to web

 
adeeb alexander
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Way I look at things, you got two options which will mean minimal code changes.
1) Java Web Start
2) Applets
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 127
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic