That's what transfer protocols are for. As long as you abide to them, you will not face any cross-language incompatibilities. This reply is to the best of my knowledge, though you may want to give it a practical try once.
Lemme explain; suppose I build a java client to send a connection request to "wwww.google.com" using the URI connection classes in the JDK, I get a valid reply consisting of the html for the page. The client in this case is in Java, while the server, most probably, is not.