Hi All, I have one java server running on a machine. And I have servlet running on another machine. I want to talk to the java server from the servlet using socket. Any special thing I have to be aware of? Any good site/tutorial/info available onilne? Thanks in advance
posted 12 years ago
Hi, no, no problems, just do it like any other Socket connection. The servlet can open a Socket() connection with your other Java-Server. The last one should create a ServlerSocket() object and accept() requests from your servlet.