文件名称:chat-chapter3
介绍说明--下载内容均来自于网络,请自行研究使用
第一,编译RMI存根(stub)和框架(skeleton)文件。
第二,编译上面所有的类文件,将服务器和客户端编译生成的.class文件打包。
第三,启动服务器。
第四,启动客户端。
执行命令java chatclient.ChatClient -jar ChatClient.jar启动客户端程序。选菜单\"File/Connect\"输入服务器地址和用户名,成功连接到服务器后,就可以聊天了。-first, compilers RMI stubs (stub) and fr a mework (skeleton) documents. Second, compile all of the above types of documents to the server and client compiler generated. Class paper packaging. Third, start the server. Fourth, start the client. Java chatclient.ChatClient enforcement of the order-jar ChatCli ent.jar start client. Election menu "File / Connect" imported server addresses and user names, successfully connected to the server, can a chat.
第二,编译上面所有的类文件,将服务器和客户端编译生成的.class文件打包。
第三,启动服务器。
第四,启动客户端。
执行命令java chatclient.ChatClient -jar ChatClient.jar启动客户端程序。选菜单\"File/Connect\"输入服务器地址和用户名,成功连接到服务器后,就可以聊天了。-first, compilers RMI stubs (stub) and fr a mework (skeleton) documents. Second, compile all of the above types of documents to the server and client compiler generated. Class paper packaging. Third, start the server. Fourth, start the client. Java chatclient.ChatClient enforcement of the order-jar ChatCli ent.jar start client. Election menu "File / Connect" imported server addresses and user names, successfully connected to the server, can a chat.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 97288404chat-chapter3.rar 列表 chapter3\rmic_client.cmd chapter3\rmic_server.cmd chapter3\chatserver\ChatServerEvent.java chapter3\chatserver\ChatServerImpl.java chapter3\chatserver\ChatServerListener.java chapter3\chatserver\Main.java chapter3\chatserver\UserInfo.java chapter3\chatserver\images\start.gif chapter3\chatserver\images\stop.gif chapter3\chatserver\images chapter3\chatserver chapter3\chatclient\ChatClient.java chapter3\chatclient\ChatterImpl.java chapter3\chatclient\ConnectDlg.java chapter3\chatclient\images\send.gif chapter3\chatclient\images chapter3\chatclient chapter3\chat\ChatServer.java chapter3\chat\Chatter.java chapter3\chat chapter3