Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP to Java communication [closed]

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.

like image 584
John Avatar asked Nov 05 '22 00:11

John


1 Answers

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

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

like image 97
devasia2112 Avatar answered Nov 12 '22 16:11

devasia2112