PHP to Java communication [closed]

 ̄綄美尐妖づ 提交于 2019-12-06 02:49:04

问题


I want to use PHP to communicate with a java using shared database to communicate, please help me with sample code or logic.

Thank you.

EDIT:

I appreciate your suggestions, Yes I will be using both php and java to connect to thesame database.

The issue I'm faced with is that I want to know, do I have to create generic command that will be used for the communication? I'm trying to avoid dirty codes and ensure good programming techniques.


回答1:


For sure. Take a look this, will help you:

http://php-java-bridge.sourceforge.net/pjb/




回答2:


Facebook developed Thrift for doing exactly what you are looking for.

Hope this helps Daniel



来源:https://stackoverflow.com/questions/5517156/php-to-java-communication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!