Sunteți pe pagina 1din 2

MiniProject#3DesignDocument

ChinweiHu

TobuildadistributedchatroomservicewithJavaRMI,westartedwiththesystem
architecturedesign:

Thesystemlevelarchitectureisfairlystraightforward,inwhichChatRegistry,ChatClient,and
ChatServerexporttheirskeletontothermiregistryandinteractwithoneanotherthroughtheir
stubobjectsprovidedbythermiregistry.AmoreconcretedesignwithRMItransparencyisas
follows:

1.ChatRegistryexportsskeletonontheregistry
2.ChatProvidercreatesChatServerregisterChatRoomthroughtheChatRegistrystub
3.ChatClientgetsalistofChatRoomsthroughtheChatRegistrystub
4.ChatClientgetsChatServerstubfromChatRegistry

S-ar putea să vă placă și