会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
宇宙中的尘埃
博客园
首页
新随笔
联系
订阅
管理
2017年11月18日
查看其他人RMI文章和自己试验后的心得
摘要: 心得和注意事项: 1,rmi是面向接口编程,所以在服务端注册对象一定要有接口和实现类,并将实现对象注册。 2,接口必须继承Remote接口 3,实现类必须继承UnicastRemoteObject类 4,接口和实现类的方法必须抛异常RemoteException 5,服务端注册对象和客户端获取对象有
阅读全文
posted @ 2017-11-18 15:22 宇宙中的尘埃
阅读(133)
评论(0)
推荐(0)
编辑
公告