I am using the MVC design pattern for the UrlyBird assignment. Following is generic explanation of my Model portion of the MVC pattern.
<code>
interface UBModel extends Remote
</code>
When running as standalone:
<code>
UBModelImpl implements Model.
</code>
When running as network:
<code>
interface UBServer extends Remote, UBModel
UBServerImpl extends UnicastRemoteObject, implements UBServer and
has a UBModelImpl
</code>
The Model notifies the views of changes to the Model. So, do I need two implementations of the View as well? One extending UnicastRemoteObject, and one that does not?
Thanks in advance.
<code>
interface UBModel extends Remote
</code>
When running as standalone:
<code>
UBModelImpl implements Model.
</code>
When running as network:
<code>
interface UBServer extends Remote, UBModel
UBServerImpl extends UnicastRemoteObject, implements UBServer and
has a UBModelImpl
</code>
The Model notifies the views of changes to the Model. So, do I need two implementations of the View as well? One extending UnicastRemoteObject, and one that does not?
Thanks in advance.