samerhannoun Posted October 11, 2011 Share Posted October 11, 2011 Hi guys,,, I am into something strange and I haven't any idea about how to implement this ###### (PHP Java Bridge). I make some research and then go back here to ask some question if you can help guys! What I would like to know the following: 1. What is the System requirement for that? (Windows and Linux). and small examples test on windows and Linux FinallyThanks in advance for any help Best wishes Link to comment Share on other sites More sharing options...
Ingolme Posted October 11, 2011 Share Posted October 11, 2011 You want PHP to communicate with Java on the client's computer or Java on the server? Link to comment Share on other sites More sharing options...
samerhannoun Posted October 12, 2011 Author Share Posted October 12, 2011 I want PHP to communicate with Java on server, it's for online payment issues, our project build with PHP and payment gateway API's for .NET and JavaSo the payment gateway suggest that's we can use PHP Java bridge for that. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 12, 2011 Share Posted October 12, 2011 Have you done any searching? This is the first thing that shows up: http://php-java-bridge.sourceforge.net/pjb/ Link to comment Share on other sites More sharing options...
samerhannoun Posted October 13, 2011 Author Share Posted October 13, 2011 justsomeguy, thank you for reply.I make some research about this, and I see this pages, but to be honest I can't get it, these page doesn't make a sense for me I think after googling it, there are 3 ways to do this:1. the link you push.2. IBM webSphere3. Zend framework in fact I like the first method, but as I said I can't get it. I think this task for Xperts developer, I haven't the enough Xperince to implement such tasks.anyway, could you help me about this. thank you again Link to comment Share on other sites More sharing options...
justsomeguy Posted October 13, 2011 Share Posted October 13, 2011 Help you with what? I can't do it for you, and I can't make you an expert. Only you can make you an expert. Start going through the tutorials and guides you find through Google and post questions if you have them. Link to comment Share on other sites More sharing options...
boen_robot Posted October 14, 2011 Share Posted October 14, 2011 Actually, there's nothing in Zend Framework that can help you with establishing a JAVA bridge... maybe you're thinking of Zend Server? Anyway, setting up the JAVA bridge... it's not exactly trivial, but it's documented in a relatively straightforward fashion atthe project's installation instructions page. I once installed it before these instructions were there, and I remember having numerous "WTF" moments and giving up twice until I eventually got it working with instructions I would summarize in a way similar to what they did. Link to comment Share on other sites More sharing options...
samerhannoun Posted October 16, 2011 Author Share Posted October 16, 2011 Ok guys thank you for reply, Now: I set up a tomcat server and deploy the javabridge.war within it, and I run it successfully. My question:should I install 2 web server on my server one for PHP and one for Java, or Installing tomcat server to handle php and java??is this possible? justsomeguy: my request was not clear enough, I just want a help with Installation. boen_robot: yes I mean Zend Server! thank you guys again Link to comment Share on other sites More sharing options...
boen_robot Posted October 16, 2011 Share Posted October 16, 2011 You need to have at least Tomcat, since that's the place where the JAVA code would run. You could definitely have a separate web server on which PHP will run. This page in Tomcat's wiki suggests a way to compile PHP in a way which would enable it to run on Tomcat... on in other words, a whole new adventure. Are you up for it? I'm not... Link to comment Share on other sites More sharing options...
samerhannoun Posted October 17, 2011 Author Share Posted October 17, 2011 boen_robot What I will do is setup 2 web server one for the php and the other one tomcat for java with 2 port number, this is an easy way. thank you again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.