JSP vs PHP

Discussion in 'Java JSP/Servlet' started by Marcus, Nov 19, 2008.

  1. Marcus

    Marcus New Member

    Hi,

    I'm interested in the performance of using JSP's over PHP with Litespeed. I have a few questions:

    1) Using a bytecode cache like eAccelerator for PHP and the LSAPI, how does the typical performance of JSP's compare - specifically on pages-per-second (I realize that this is a hard thing to measure, but for say a database access and HTML-generation).

    2) Have you found a JSP server to perform consistently better (e.g. Tomcat, Resin?).

    Thanks.
  2. mistwang

    mistwang LiteSpeed Staff

    I do not have an answer to your question. we only try to make both run as fast as they could with LiteSpeed, have not compare performance of those two. :)

    Maybe you can google for it.


    JSP is more popular in the enterprise world, while PHP is more popular in pure web application.
  3. jayvee88

    jayvee88 New Member

    for me i would prefer jsp, because it is important in my study right now, but as i have been browsing the web, php is more dominant. but well that's just for me, some says jsp. nonetheless, as long as it's secure and works well, why not.
  4. GlariaMeckle

    GlariaMeckle New Member

    I vote PHP. Because it helps to develop programs in completely. I’m also java developer. I think PHP can do more things than JSP.
  5. DilkzaSokle

    DilkzaSokle New Member

    I can't vote only one. I like both are very much. Because both are helping to my web development activities.
  6. GilikaHilko

    GilikaHilko New Member

    I appreciate your reply Dilkza. Your said truthfully. These are connected with one to one. I also agree with that reply.
  7. daavidfischer

    daavidfischer New Member

    I think Tomcat is performing better and consisting every time. In my office I had used Tomcat for a pretty long time and it never created any issues for me. There are many JSP servers available now. You can compare the requirements you need and then decide.



    _______________________________________
    www.curefor-snoring.com

Share This Page