Dear All,

I have studied in my book that after compiling the RMI server it will produce two Class files

RMIServer_Skel.class
RMIServer_Stub.class

But I have succesfully ran the RMI server and made the client connection, but i could not find any Stub or Skeleton files in my workspace.

Why is that and also I need some insight in Codebase which is added in RMI server java file. Is this codebase only needed for RMI or for many other Java Service ?

I think that compiled stub stuff related to an earlier version of RMI (pre Java 1.5), but the current version works at run time via reflection and so doesn't need the old skeleton/stub files. That's one danger of using a book rather than current online sources.

codebase is an HTML spec that's used for loading applets' needed classes and aother such stuff

Thanks for the Explanation James !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.