This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Originally posted by xiaoyi hou: should the codebase specify where to find the stub file, or the server class file, or both of them? thanks X HOU
Hi X HOU, I always put my generated stub (and skel) files in the same directory as the implementation class (i.e. the class that implements the remote interface), and I always set my <code>java.rmi.server.codebase</code> property to the root directory of the location of the implementation class.
Example (for Micro$oft Windows):
1. Suppose following (partial) definition for implementation class
<blockquote> <pre> package my.rmi.package; public class RemIfImpl extends UnicastRemoteObject { } </pre> </blockquote> 2. And suppose the generated ".class" file sits in directory