May 2001
Intermediate to advanced
1088 pages
30h 13m
English
| Q1: | Why does rmic complain that my class doesn't implement a Remote interface? |
| Most likely, you either forgot to declare that your Remote interface extends Remote or you forgot to declare that your implementation class implements the Remote interface. |
| Q1: | Why do I get an error about a missing RemoteObject_Stub class when I run the server? |
| You forgot to use rmic to generate the stub and skeleton for the server class. | |
| Q2: | Why do I get a security exception when I run the server? |
| You probably forgot to specify a security policy with the -Djava.security.policy option. Remember, because you set up a special security manager, you must use a policy file to grant special permissions to your RMI server object. |
Read now
Unlock full access