File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes possible to connect php and java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "possible to connect php and java" Watch "possible to connect php and java" New topic
Author

possible to connect php and java

vijay nat
Greenhorn

Joined: Jan 03, 2009
Posts: 2
possible to connect php and java
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
What do you mean by "connect"? TellTheDetails

This may be helpful: http://www.coderanch.com/t/448135/Java-General-advanced/java/Java-code-sitting-along-with


Ping & DNS - updated with new look and Ping home screen widget
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

The easiest way is probably have Tomcat handle the JSP and servlets, and Apache's web server or IIS handle the PHP. Check out http://tomcat.apache.org/connectors-doc/ - I've used it just yesterday to get one of our IIS servers to redirect calls to a Tomcat server. You can even have those running on different machines, as long as both have access to the worker and mapping definitions.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: possible to connect php and java
 
Similar Threads
Unix Connection Sockets
How to make a php application as a java web service?
php as a servlet
php vs java
Apache Containers Question