What would be a quick and dirty way to get PHP to talk to java?

We have php setup for our HTTPS protected web pages. The web application is talking to the database, but we also want it to talk to the java server that we have.

java server is a standalone Java application (not a web application). We just want to execute a callback after the PHP page has finished writing to the database executed on the java server. What is a good way for this php page to talk to a java program to do something?

+3
source share
6 answers

, : , . cron java, , .

, ExecuteCmd1 . java , , .

, php.

+4

TCP/IP. Java , PHP script , Java-, .

+2

JSON RPC PHP Java. , .

CURL php (http://php.net/curl) json_encode() POST json Java-. ( curl, - . .)

JSON (http://www.json.org/java/) Java, . JSON.

XML RPC, . PHP β†’ IP β†’ Java .

+1

Google , , , launguage .

0

PHP/Java bridge. , Java Typo3, PHP CMS.

, : , , , - . PHP, Java. , .

0
  • ?

  • ?

  • Java- ?

  • Java ?

3 4 , , PHP Java.

0

Source: https://habr.com/ru/post/1715922/


All Articles