I want two java programs to communicate with each other. Something like client server architecture, in which many clients are fetching data from server on regular interval (Say after 2-3 sec.).
With java RMI i am able to fetch data from server. But I would like to know is RMI the best solution?
I came to know that Web Service is better then RMI in terms of maintenance & flexibility.
Can anyone please tell for my requirement RMI better or Web Service?
Also, is their any Web Service Framework available which I can use?