Basically, I need bidirectional client-server communication (Java), where the client calls methods on the server, but I also need to get "callbacks" if certain events occur on the server. The methods themselves have quite complex input and output parameters, and in the future it would be nice to include authentication in the system. Which approach fits my requirements? I am already creating a prototype with RMI, but I read that there are a number of problems, especially for "callbacks" when c / s are on different networks. In addition, I would like to avoid the JAX technology associated with my complex data structures in the parameters.
source
share