I've basically completed my assignment, there's only one nit that fails. I export my stub in the following way:
The RMI registry is running on the standard port, service is properly initialized and config.getListenPort() returns a legal value but I got the following exception:
The referred line is that of registry.rebind(). I don't understand why it cannot found the class. The package is imported and even if I explicitly specify its location with -cp, same error occurs.
Thanks in advance.
Sun Certified Java SE 6 Programmer
Oracle Certified Professional, Java EE 5 Web Component Developer
Oracle Certified Professional, Java EE 5 Business Component Developer
Oracle Certified Professional, Java EE 5 Web Services Developer
Oracle Certified Professional, MySQL 5.0 Developer
Oracle Certified Professional, MySQL 5.0 Database Administrator
I just meant the proper import statement is there, although that's trivial because it wouldn't have compiled without it.
As for -cp, yes, I know, it was just an idea to try... I used to work with RMI and that time it just worked. I also googled a lot and checked tutorials but I don't know why is there this strange exception.