ChatApp API Interfaces and Data Definitions

COMP 310    Java Resources  Eclipse Resources

The crucial interfaces and data definitions in the ChatApp system are the common Remote interfaces for communicating with remote ChatApp applications and the data definitions of the fully serializable data to be sent between ChatApp apps.

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!

Remember: Message routing is unnecessary!

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:

 

 

© 2020 by Stephen Wong