Tony Docherty wrote:I vaguely remember skeletons have not been needed since Java 1.2 (or that could be Java 1.4 - either way quite a long time). From Java 5 onwards running RMIC is no longer needed, see the RMI tutorial http://docs.oracle.com/javase/tutorial/rmi/overview.html
In the book Head First Java 2nd Edition that I am following , there is ample reference to Java 5.0(Tiger). So the authors of the book, wrote the book after Java 5.0 was released. And they specifically mention that both the stub and skeleton code will be generated on running rmic on the remote implementation. Are they wrong in saying so?
The book would probably have been timed to come out when Java 5 was first released and there may have been changes to RMI (for example no longer requiring rmic to be run) which were only announced after Java 5 (and the book) had been released.
I've just checked the unconfirmed errata for the book and these rmic statements are marked as being incorrect see: http://www.oreilly.com/catalog/errataunconfirmed.csp?isbn=9780596009205.