摘要: 心得和注意事项: 1,rmi是面向接口编程,所以在服务端注册对象一定要有接口和实现类,并将实现对象注册。 2,接口必须继承Remote接口 3,实现类必须继承UnicastRemoteObject类 4,接口和实现类的方法必须抛异常RemoteException 5,服务端注册对象和客户端获取对象有 阅读全文
posted @ 2017-11-18 15:22 宇宙中的尘埃 阅读(133) 评论(0) 推荐(0) 编辑