Page 1 of 1
Integrating Java with PHP
Posted: Mon Aug 31, 2009 2:32 am
by sheikhmdirfan
Hello Everyone
Greetings!!!
I am using a Windows PC having XAMPP installed on it.
I want to run java code and classes through php.
How can i do it and do i need to change any settings..
Please show an example if possible...
Thanks in advance...
Re: Integrating Java with PHP
Posted: Mon Aug 31, 2009 3:02 am
by requinix
Any reason you can't convert the Java code into PHP code?
Re: Integrating Java with PHP
Posted: Mon Aug 31, 2009 3:09 am
by AlanG
Why? You should use JSP. Mixing languages is a bad idea most of the time.
Re: Integrating Java with PHP
Posted: Mon Aug 31, 2009 3:15 am
by sheikhmdirfan
I have to make use of certain java libraries . thats why
Re: Integrating Java with PHP
Posted: Mon Aug 31, 2009 3:38 am
by AlanG
sheikhmdirfan wrote:I have to make use of certain java libraries . thats why
Are they custom libraries or standard ones? If their custom, can you not rewrite them in PHP, and if their standard is there an equivalent in PHP?
What libraries are they?
If you really really really need to use Java, then you should look into JSP.
Re: Integrating Java with PHP
Posted: Mon Aug 31, 2009 4:48 am
by Mark Baker