Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

PHP and J2EE Performance and scalability comparison

  Asked By: Alma    Date: Dec 09    Category: Java    Views: 5502

I need a liable and up-to-date article on scalability and performance comparison of PHP and J2EE technologies.

My intention is to provide indepth and accurate consultant to a client who is intending to use Moodle (http://moodle.org/) which is PHP based versus uPortal (http://www.uportal.org/) which is J2EE based as of their Online Learning managment System.

They have a requirement of about 2500 students and 700 lecturers and staff and more than 1800 courses all needed to be offered online.

Any suggession and guideline will be appriciated.



4 Answers Found

Answer #1    Answered By: Dirck Jansen     Answered On: Dec 09

Maybe you can satisfy both yourself and your customer :) Have a look at
'Quercus' technology by resin.

See : http://wiki.caucho.com/Quercus
and : http://www.caucho.com/resin-3.0/php/index.xtp

Answer #2    Answered By: Calais Bernard     Answered On: Dec 09

it is hard to compare both but in general

PHP web servers mostly run PHP by interpretation, but JSP pages are pre compiled, some commercial application servers like Bea weblogic optimize JSP to a very good speed.

there are not many high speed PHP containers.

it is harder to maintain a large PHP based  application than a j2ee  application

we are also developing some e-university solutions in our company, we have developed some systems for different universities one of them has 10,000 students and they have no problem with speed of our java application.

Answer #3    Answered By: Calvin Banks     Answered On: Dec 09

This link may help you:

Answer #4    Answered By: Ralph Murray     Answered On: Dec 09

I totaly disagree with it, for example take a look at this part:

When it comes to session data I'm much more willing to believe in filesystem or database clustering than J2EE clustering, the key points being maturity both in the mechanism and the tools that support it (for sysadmins). There's also some serious weight going into Linux clustering which presents another path for PHP while other alternatives like MSession or memcached (pecl::memcache) also exist

do you really think, it is really a good idea to use a shared filesystem or database to store distributed http  session and application scope variables?

Didn't find what you were looking for? Find more on PHP and J2EE Performance and scalability comparison Or get search suggestion and latest updates.