Hi All,
I want to know how to invoke a particular system from a jsp or servelt in a client-server model.may be using the name or ip address of the system.
Thanks for the response.In a client/Server model i want to invoke one single client machine from the server.Like if the server sends an order to refresh the machine like that.
What protocol ? What do you mean by "single client machine" ? Do you want to create a new JVM, or contact a server talking RMI, or pure TCP/IP, or HTTP or what ? What do you mean "refresh the machine like that ?
Just consider a situation that many client machines are connected with a server.I want to invoke any one of those client from the server.I am using http protocol.For more clearly when the server issues an order to the client that client system will do some operations like refresh etc.
If you are talking about a client as in a browser, then you mean a concept known as "server push". Browsers do not support server push - the client-server model over HTTP only really supports client-request->server-response.
You would need to run an applet or something that has a java.net.Socket connection or similar.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.