File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes RMI and local mode my zonealarm complains Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "RMI and local mode my zonealarm complains" Watch "RMI and local mode my zonealarm complains" New topic
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: RMI and local mode my zonealarm complains
 
Similar Threads
Remote vs local client view
Do we need host,port,and db name when we use RMI ?
URLyBird 1.2.2 modes
Fail in SCJD...HELP!
How many modes are there for the program?