开发者

Calling Jar From Php (What if multiple requests made at the same time?)

I am calling a Jar file on my php server via

exec('java -jar /pat/to/file.jar', $output);

But i am wondering, If two consequent requests made to the php function that runs the jar file, would the second request be able to reach the jar file? Or would it have to wait because the jar file is already in use?

Th开发者_运维百科anks in advance.


I have used this in the past and it seems to work well: http://php-java-bridge.sourceforge.net/doc/how_it_works.php

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜