Hello,
When i write my implementing class, that implements the interface, that implements the Remote, i have:
then i have to define a default constructor, that does nothing but defines the RemoteException:
or constructor that does something:
but this means i invoke because of the inheritance the default consttructor of the Unicast...:
Creates and exports a new UnicastRemoteObject object using an anonymous port.
but if i add the following to my constructors:
then because of the inheritance:
Creates and exports a new UnicastRemoteObject object using the particular supplied port.
-In both cases, my program runs well, what is the difference between anonymous port and particular supplied port?
-Should the particular supplied port be the same like this one by the createRegistry (on with the server listens for
incomming connections)?