I got the point of creating cluster. Without proxy two services can communicate via sending message over event bus and reply back.
My question is when services are deployed of different VMs. To call methods of a particular service, we need .classfile or jar or some api related to that particular service right ?
Let suppose I have
interface MyService {
public void callMyService();
}
class MyServiceImpl implements MyService{
public void callMyService(){
/// some implementation
}
}
public class MainVerticle extends AbstractVerticle{
@Override
public void start() throws Exception {
// code registering service here
}
}
Now if I want to call callMyService() from some other service which is deployed on some other VM. How to achieve that ?
Service should has .class file or jar or should have endpoint ?
My bad but I didn't get much help on this from documentation.