COMP 310
Spring 2019

Lec30: Chat Program Interfaces

Home  Info  Canvas   Java Resources  Eclipse Resources  Piazza

Today we will continue developing the common Java interfaces and protocols that we will need to enable everyone's chat program to interact.  Please refer to the previous lecture materials...

Some basic notions to consider:

In order to more accurately represent "real world" API's, the ChatApp networking API should minimize the number of method calls on remote objects.

Note that shared network API may encompass more than one set of use cases for distinct sets of processes.   This may mean that the API may naturally separate into multiple decoupled parts!

Technical Details

Some details that need to be standardized:

  1. RMI bound name for initial connection entity in the Registry
  2. "Well-known" data types
    1. What well-known data types are required?
    2. What are the host ID's of the well-known data types?

 

Pitfalls:

 

 


© 2019 by Stephen Wong