Which server technology is the better and why: PHP or J2EE Servlets?
PHP as a language is very easy to learn and use. It helps you to make a simple website in no time. If your need is a website with simple logic, go for PHP. But java(Java EE) is a much harder and better language. You should learn a lot of technologies to make a website with java. But it can let you perform much harder and complex logic. So if you are planning for a real big project go for Java EE
go for php it is open source it is easy to understand
I agree with Amal Joy. In one word, PHP- for websites Java- for web application
In comparison to PHP, the J2EE language is far more maintainable in terms of updating an application or website. It is heavily object oriented, whereas OOP in PHP is rather new, since mostly, it is scripting. Java also has a better linear performance. And thus, it beats PHP on performance benchmarks as well.
Join our real-time social learning platform and learn together with your friends!