Download
rmi chat application n.
Skip this Video
Loading SlideShow in 5 Seconds..
RMI Chat Application PowerPoint Presentation
Download Presentation
RMI Chat Application

RMI Chat Application

189 Vues Download Presentation
Télécharger la présentation

RMI Chat Application

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. RMI Chat Application Peter Cappello

  2. Peter Cappello • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Architecture: Star Topology Client1 Client6 Server Client2 Client5 Client4 Client3

  3. Client Registration ServerImpl proxyMap

  4. Client Registration ServerImpl proxyMap Client

  5. Client Registration ServerImpl proxyMap Client “Bob”

  6. Client Registration ServerImpl proxyMap 1. Rmiregistry lookup Client “Bob”

  7. Client Registration ServerImpl ServerProxy “Bob” proxyMap messageQ 2. login Client “Bob”

  8. Client Registration ServerImpl ServerProxy “Bob” 3. login proxyMap messageQ 2. login ClientProxy “Bob” Client “Bob” chatters messageQ

  9. Posting a Message ServerImpl ServerProxy “Bob” proxyMap messageQ update ClientProxy “Bob” Client “Bob” chatters messageQ

  10. Posting a Message ServerImpl ServerProxy “Bob” update proxyMap messageQ update ClientProxy “Bob” Client “Bob” chatters messageQ

  11. Posting a Message ServerImpl ServerProxy “Bob” update proxyMap messageQ update update ClientProxy “Bob” Client “Bob” chatters messageQ

  12. Posting a Message ServerImpl ServerProxy “Bob” update proxyMap messageQ update update ClientProxy “Bob” Client “Bob” update chatters messageQ