I am in a situation I do not understand and will attempt to explain it as
best as i can.
I have created a simple rmi "echo" client/server application straight from
one of the sun courses. it has a class echo.server that only rebinds echo objects to the rmi registry.
I can compile and properly the client server rmi process when the
interface, impl class, stubs/skeletons are all in the same application.jar.
my
java command line looks like
java -cp application.jar echo.server
If I move these the remote interface, impl, stub/skeleton to a
library.jar. all compiles properly. However, I recieve unmarshing error Echo ClassNotFoundException when I attempt to run it.
java -cp library.jar;application.jar echo.server
Why would simply moving the remote things to a package that I can share amongst many applictions be disallowed? I