I have 1 web application in PHP and one desktop application in Java on a machine.
I tried to make the connection between the two applications; because I need my web application send a file to my desktop application and this can make trades and returns a result (number) to my website.
The file I'm posting from my web application, I am saving to a shared folder on both applications, so that once the file Java application can read it up.
Is there any way to make the bridge between the two?
I think that a cool way to design this type of application would be to design the web App as a server app preferably as a web service and then the java App as a client calling the service. Both Apps can exchange data using Xml. You check-out this link to get started on web services in php http://www.codeproject.com/Tips/671437/Creating-Web-Service-Using-PHP-Within-Minutes
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.