1.写接口             Interface

2.写实现类        classImpl

3.server发布

main方法里:

接口定义对象  Interface in = new classImpl();

定义服务器地址 String address = "http://地址/"

发布Endpoint.publish(address,in发布接口发布接口);


相关文章: