• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remote local

 
Najib Coutya
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Herve and All,
================
8) Explain how Swing application handles local and remote mode
9) What is the command line to launch the client on remote mode
======================
My client uses factory method for local/remote server, but I'm asking the user to provide the string "local" rather than the DNS server if he wants local is that possible, or will I loose marks over this?
Thanks Najib
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is ok, but if you just have it blank can't you check the args[] and see that it is empty and therefore means local mode?
I think both ways are fine.
Mark
 
Najib Coutya
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Mark,
That's what I've done on Saturday, changed it to pass one parameter (file name) when invoking in local mode.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic