From Sun's Instructions page:
. The user must be able to select the operating mode, although it is acceptable that the program stay in one mode once it has started up.
From the above.. It is clear that We have to
Provide Operating mode(loca or remote) in UI...
eg:
I started application with the following command:
java StartGUILocalMode
In GUI I can switch.. to remote mode..
IF I started apps
java StartGUIRemoteMode
then I can switch to local mode..
Correct me If I am wrong.