Looking just at the schema on the project homepage, that seems to be a solution similar to the OP's #3) however : you use another webserver as front-end to Tomcat. I do not see at first how this solution is much different than an Apache httpd front-end, which proxies to Tomcat what belongs to Tomcat (aka targeting the Java apps), and runs locally (using mod_php e.g.) the PHP apps.

The php-java-bridge looks more like a "device" which allows PHP applications running on the front-end, to interact directly with Java apps running on the Tomcat back-end.

Or am I missing something ?


Jonathan Rosenberg wrote:
Check out this

       http://php-java-bridge.sourceforge.net/pjb/

I did a quick install & test of this a few months ago & it worked
right out of the box.  I did not dig into it in detail, however.

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary


On Tue, May 31, 2011 at 11:53 AM, Software2 <ryan.he...@software2.co.uk> wrote:
Hi,

I am currently working on a project to develop an "add-on" for a network
attached device. Hard to explain but basically what we currently have is a
device that runs apache tomcat with a java webapp. I want to host on the
same device, a seperate webapp. I have done some java programming in the
past but am primarily a PHP developer, so my options are:

1) Re-learn Java for developing the new webapp
2) Stick to PHP and work out how to host it as a webapp on the tomcat server
3) Install another PHP stack (xampp) on the device to host the PHP app

To me, option 2 seemed most sensible, utilising my current skillset and the
current server stack, but there doesnt seem to be much talk of how to do
this over the last year, lots of tutorials mention php_java.dll and
php5servlet.dll, which seem to have been deprecated and removed from pecl
respectively.

Any recent advice on how to host a PHP app on a tomcat server, whether it is
worth it, or generally what you would advise given my situation would be
appreciated!

Cheers
Ryan
--
View this message in context: 
http://old.nabble.com/PHP-Webapp-on-Tomcat-Server-tp31742122p31742122.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to