Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

calling java code from PHP

Tags:

java

php

symfony1

I have a PHP web application developed using symfony framework. I want to call some Java code from within my PHP pages. Java code is distributed to multiple jar files and there is one interface available to access the functionality. The input and outputs of the Java interface are XML files, text files, Java beans and some more complex objects.

Is there any bridge available in PHP to call complex Java methods or some other solution to this problem. Alternatively, I have to write soap web services to solve this problem.

like image 200
Tausif Baber Avatar asked Dec 06 '22 22:12

Tausif Baber


1 Answers

You may want to look at these:

  • Zend Platform Java Bridge
  • PHP/Java Bridge

HTH

like image 194
Frosty Z Avatar answered Dec 10 '22 11:12

Frosty Z