One possible solution could be simple HTTP get or post request, but that wouldn't be secure.
-
Are these applications on the same machine? Are these web applications or desktop applications? What security issues are you concerned about?Scott Saunders– Scott Saunders2009-10-28 13:54:53 +00:00Commented Oct 28, 2009 at 13:54
-
What platform? Could you just use something as simple as pipes?lavinio– lavinio2009-10-28 13:57:10 +00:00Commented Oct 28, 2009 at 13:57
5 Answers
You can integrate Java and PHP with PHP-modules; http://php.net/manual/en/book.java.php
(Given that they are on the same machine)
Comments
One possible solution could be simple HTTP get or post request, but that wouldn't be secure.
Why not? Do it over HTTPS and have the web service only accept connections from known IPs or via specific API keys. If a HTTPS POST request is acceptable for processing credit cards (it is), it's good enough for your app.
Comments
Maybe we need some more information about your problem.
One possible solution is Zend Java Bridge (http://files.zend.com/help/Zend-Server-Community-Edition/zendjbridge.html).
If PHP and Java are in different machines, please let us know why web services are not a good solution. In that case, Java RMI in combination with Zend Java Bridge would be useful.
Comments
One possible solution could be simple HTTP get or post request, but that wouldn't be secure.
What do you base this premise on?
If both ends are on an internal network, it's perfectly safe.