here's what i am trying to achieve
i have a geo-location program (written in java) telling me the country i am in based on IP address.
here's how am i doing it
i am using the zend php bridge to connect to a java app and that in turns makes a URL connection to a Java Servlet which wraps geo-location api and sends response back to java application and that sends it to PHP via the bridge.
problem i am facing.
the bridge hangs sporadically, when i detach the java app and servlet from the bridge it works fine, it only hangs when the java app returns value to the servlet that it hangs.
PHP (front-end) <--PHP-BRIDGE--> Java App <----> Java Servlet (Embeds Geo-location API)
thanks in advance.