Forums Register Login

Stand alone to web

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Way I look at things, you got two options which will mean minimal code changes.
1) Java Web Start
2) Applets
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
 

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!
+Pie Number of slices to send: Send
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?

+Pie Number of slices to send: Send
 

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.
And then we all jump out and yell "surprise! we got you this tiny ad!"
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 994 times.
Similar Threads
how to use jpa & database connection pool in swing?
code that runs automatically to update sql tables on a specified date and time
Session Time out
Dialect class not found
Install shield for swing application?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:27:52.