I am working on my
SCJD and have come across this one while programming RMI server:
This always throws
java.rmi.NoSuchObjectException: object not exported on line commented with // THROWS. I have checked that stub is actually instantiated and is valid, I have even used it and it works! I have a feeling I am missing on some vital fundamentals of RMI or smth.
Can anyone help and explain why this is happening?