SCJP, SCJD, SCWCD, SCBCD
You do not need to specify the server address when you bind the object. It will be implicitly set.
"� this mode must use the database and GUI from the networked form, but must not user the network server code at all �"
SCJP 1.4<br />SCJD 1.4 (in progress)
"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA
... Architecturally, this mode must use the database and GUI from the networked form, but must not use the network server code at all. ...
SCJP, SCJD, SCWCD, SCBCD
SCJP 1.2<br />SCJD
Scenario 1 shows the usage of the alone mode flag. Both Client and Server run on same host. Or other said the program run in
non-networked mode and hence is not allowed to use any network code. Right?
Scenario 2 shows the usage of the server mode flag and no flag. First the server (host 3) must run before clients (host1 and host2) can connect. Here I make use of network code. Right?
Last but not least I have a general problem with the terms Client and Server. For Scenario 1 it makes less sense to my mind because its one monolith application. In Scenario 2 however it makes sense because I have a clear separation through RMI.
SCJP, SCJD, SCWCD, SCBCD
"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA
...my model class in MVC has only access to an abstract connection class in the network layer.
SCJP, SCJD, SCWCD, SCBCD
SCJP, SCJD, SCWCD, SCBCD
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |