i am developing a client/server program in which i want to invoke a method of client program
through server program.
this is vnc based application in which the server will be running and listening to any arbitrary port number …. the client will connect to the server using a method which has argument in the form of ip and port number of server.
after that the server will be able to take control of the client’s screen.
i want to call this method from server !!
i want to add a facility in which the client will submit a request and server will then connect to the client ..
i have heard about RMI but i want to know is there any other way available to achieve this if not pls post some good tutorial links on RMI .
RMIis a Java-only way for network programming or method calling but Web Service is language-independent. By web service you can integrate some application.But my recommendation is using MOM systems. This type of system support two approach :
Synchronous Modeland ‘Asynchronous Model’. In JavaMOMis implemented viaJMS.(look in here).JMSis anAPIand have several implementation such as :