[Logo]
Forums Register Login
Network Approaches
Hi, everyone!

I read my instructions again and find a question.
In the Network Approaches section, it states that

What does "In either case" mean? RMI/serialized objects, or network/non-networked mode? I think it refers to the latter, so the subsequent phrase "in which case" implies Non-networked mode, right?

My approach is when a user uses the command line "java -jar runme.jar alone" and chooses the right parameters, the user will receive an indication that a local database is to be used. If the user launches the command line "java -jar runme.jar" and specifies the proper parameters, an information that remote database is to be use will appear. Is my way on the right track?

Thanks in advance!
Regards, Ailsa Cape
[ September 19, 2005: Message edited by: Ailsa Cape ]
Hi there...
What does "In either case" mean? RMI/serialized objects, or network/non-networked mode? I think it refers to the latter, so the subsequent phrase "in which case" implies Non-networked mode, right?


This of course refers to how are you going to implement networking in you project. "In either case" means: Whether you are using serialized objects over sockets or RMI, your system must be capabale of ......etc
So, regardless of your networking layer implementation, the system must be run from the command line and support the three modes as well. Hope this can help.

Hatim
Hi, hatim

Thank you for your answers.

I just find in the Overall Architecture of my instructions it reads, "keep in mind that networking must be bypassed in the non-networked mode". So it confirms my speculation. From this I draw a conclusion that the words "in which case" should refer to the non-networked mode and thus "an indication" implies the same mode. According this judgement, "In either case" should be in network or non-networked case. I don't think "In either case" means serialized objects over sockets or RMI. But I am a bit curious why Sun demands this requirement in the Network Approaches section, it should be in Non-networked section, I think.

I also implement when the user uses the command line"java -jar runme.jar server" and point out the location of the database file in the server machine and RMI service port number correctly, the server will start.

Regards, Ailsa Cape
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 10, 2017 21:10:24.