Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scalability of Java

 
Marie Mazerolle
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pardon my ignorance, but why is Java more scalable than PHP?
Thanks,
Marie
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mainly because PHP doesn't support the separation of business logic from presentation logic. There is nothing like EJB in PHP which makes it impossible to spread your application among multiple servers. Java allows for a true distributed environment across many tiers (as many as you like) which PHP doesn't come close to supporting. Java supports an MVC environment with servlets, JSPs and EJBs all interacting across multiple servers. PHP only serves the role of JSP.
 
Marie Mazerolle
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick and clear reply, Thomas!
Marie
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!