I have a doubt regarding RMI. In RMI we create remote object(s) and use them to call methods as declared in the remote interface. So if I want to set some parameters of a remote object I have got to do so using some setField method ( as created ) for the object.
However since the most common way of initializing fields of an object is by the constructor of the class, can't I pass arguments from my client such that while the remote object is being created ( by new in the server ) these shall be utilized?