| Author |
RMI and local mode my zonealarm complains
|
Jan van Buren
Greenhorn
Joined: Dec 04, 2005
Posts: 6
|
|
|
I have choosen to use RMI for client/server communication. When I startup the client in local mode my zonealarm still asks if that communication is allowed. Is this ok for my assignment or should I make it more local meaning no network-access at all?
|
 |
Daniel Dalton
Ranch Hand
Joined: Mar 20, 2005
Posts: 146
|
|
Hi - check your instructions, and you probably have something like:
Architecturally, this mode must use the database and GUI from the networked form, but must not use the network server code at all.
Basically this means that in standalone mode, you shouldn't be using RMI or any other kind of networking at all. Hope that helps...
|
 |
Jan van Buren
Greenhorn
Joined: Dec 04, 2005
Posts: 6
|
|
I have a interface that defines what the server can do. The interface extends Remote. In local mode I don't do a rebind but just create the server implementing the interface. No networking according to me but my ZoneAlarm thinks otherwise and he is right.
|
 |
Daniel Dalton
Ranch Hand
Joined: Mar 20, 2005
Posts: 146
|
|
I suspect that your instructions asked you to create a Data class or similar, which has methods allowing it to manipulate a data file locally - ie. on the same computer as the program is running on. Local mode is asking you to have the application running on the same computer as the datafile resides on... You don't need the server code to do this, and in fact it is probably contrary to your instructions to do so...
|
 |
Jan van Buren
Greenhorn
Joined: Dec 04, 2005
Posts: 6
|
|
Thanks for your replys and thank Zonealarm to. Without it I would have failed for sure My assignment states no networking and a class that extends UnicastRemoteObject is doing networking.
|
 |
 |
|
|
subject: RMI and local mode my zonealarm complains
|
|
|