I can't really give you details because I never made any benchmarks, but
I don't think there is any difference. PHP uses the MySQL client
library, and if you use native JDBC drivers for MySQL, you end up using
the exact same library. In both cases, the slow down does not come from
the client library anyway, it comes from the server actually processing
the request (which isn't long anyway, in most cases).
At that level, the language you choose for your application is a matter
Rajesh Kapur wrote:> Does PHP work better than Java with MySQL? What are pros and cons of using
> PHP vs Java? Which one is faster?
> Can someone share the experience or point me to some good white papers or
> benchmarks? Thanks.