Java servlets versus PHP

J

Jeremy Watts

vague question i know, but what sort of difference in execution times can be
expected between a web application run server side in PHP, and a Java
servlet also obviously run server side?

thanks
 
H

Hal Rosser

Jeremy Watts said:
vague question i know, but what sort of difference in execution times can be
expected between a web application run server side in PHP, and a Java
servlet also obviously run server side?

thanks

The more intensive and complicated the business logic, the more you should
lean toward the Java solution.
 
I

Ike

I studied this for some time. It seems the servlet solution does best in
very heavy traffic situations. In the lightest traffic situations, there is
no difference, in fact, my own experience suggests that in the lighter
traffic situations, (vague defiinition, I know) php is considerably faster.
Additionally, php can be used to pass blobs, and other complex data
structures. Typically, I wil use a servlet for database interaction, but, if
that pukes, have it switch seamlessly over to a php incarnation of the same
thing. Works like a charm, -Ike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top