I have an application with php at front end and Java as Backend. I was using Hessian from php to call Java methodes with returns data from Java to php. and now i got some problem with hessian and I am getting some exception u can see the question i posted earlier.
https://stackoverflow.com/questions/11121340/hessianserviceexporter-only-supports-post-requests
Is there any other method to call java functions from php code, just like hessian?
If so can someone tell me know?
Easiest way would be to implement a REST layer using JAX-RS. Apache CXF is an excellent, very simple system for deploying JAX-RS services. You can build out the entire service layer without having to worry about Java/PHP interaction that way.
To give you an idea of how easy it is:
The content of the beans.xml for CXF’s servlet would look like this: